/srv/irclogs.ubuntu.com/2021/01/25/#ubuntu.txt

ExcessiveAggroevening00:02
jayjois there a wiki page or some other recommendation for single disk boot partitions using uefi with LVM?00:10
=== FutureShock is now known as abandonsapien
jayjousing gpt00:11
=== abandonsapien is now known as AbandonSapien
jayjodo I only need a single 512M EFI partition, and the rest is my single LVM partition?00:17
=== bluesabre_ is now known as bluesabre
=== fowl_ is now known as fowl
Tom01Has somebody knowledge of html / javascript. Where is this js located? src=“//cdntrf.com/mactechnews.js"01:08
leftyfb!ot | Tom0101:09
ubottuTom01: #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!01:09
Tom01ok01:10
=== friv is now known as frib
=== KL5AY2 is now known as KL5AY
swarmachineshi01:42
=== de-facto_ is now known as de-facto
=== zbenjamin_ is now known as zbenjamin
jwashI'd appreciate any ideas about how to block youtube on my network for all computers except for 1 or two explicit IPs.03:02
leftyfbjwash: Is your router running Ubuntu?03:28
jwashleftyfb: DD-WRT04:00
jwashI've been feelling like it's time to move away from my router to a computer to do the routing04:00
derpadminI do it, so far so good04:01
leftyfbjwash: I would look into ubiquiti. But none of this is on topic for this channel. Try #networking or #ububtu-offtopic04:01
crabsAnyone had luck on installing Ubunto on the Alix 2D13 single board computer? https://wiki.polaire.nl/doku.php?id=debian_buster_alix2d13 works for me for Debian...04:22
crabsUbuntu*04:22
=== daysun_ is now known as daysun
daysun!ops user ggdev spamming the same spam as yesterday. Same link. Same message.05:08
ubottudaysun: I am only a bot, please don't think I'm intelligent :)05:08
daysun!ops05:08
ubottuHelp! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, chu05:08
daysunuser ggdev spamming the same spam as yesterday. Same link. Same message.05:08
daysunsame user as _0dev_ who got klined05:08
chovyhow do i install cuda on 20.04?05:29
chovyThe following packages have unmet dependencies:05:29
chovy cuda : Depends: cuda-11-2 (>= 11.2.0) but it is not going to be installed05:29
chovyE: Unable to correct problems, you have held broken packages.05:29
_jakchovy: do sudo apt-get purge nvidia*, then follow the instructions for your preferred method here: https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&target_distro=Ubuntu&target_version=2004&target_type=debnetwork06:05
chovyi neeed cuda 1006:12
chovy_jak:06:12
chovy./ccminer_linux_cuda102: error while loading shared libraries: libcudart.so.10.2: cannot open shared object file: No such file or directory06:17
chovyhow to fix?06:17
=== denningsrogue3 is now known as denningsrogue
XeroineHello, I'm trying to install IceWM on Ubuntu from a tar file using the instructions from their website but when I do "./configure --prefix=/usr" I get the error "configure: error: Packages SM and ICE are required for session mgmt.". Does anyone know how I can install those two packages? I couldn't find their names06:33
CorruptByteDid you run the script that installs all of the dependencies?06:36
CorruptByteXeroine: See above06:36
Xeroinewdym, what script is that?06:37
XeroineI thought the configure script does that06:38
CorruptByteLook for heading Install package dependencies on the ice-wm.org homepage06:38
Xeroinealright06:38
Xeroineoh06:38
Xeroinethanks a lot, should've read the entire thing06:39
CorruptByteNo worries :)06:39
=== denningsrogue9 is now known as denningsrogue
conjohey all-how would i change font font size and window coloum and row settings for my terminal(bsh ubuntu 20.04.1 (really want to learn how to do this via configs file adjustment, i know how to do it via gui)08:59
conjoeg what file am i looking for08:59
Mr_xhi08:59
conjo=)08:59
Mr_xanyone ever face this error :09:00
Mr_xerror: could not create '/usr/local/lib/python3.7/site-packages/antlr4': Permission denied09:00
Mr_xthis occur when try to run --->> python3 -m pip install -r requirements.txt09:00
Mr_xI'm a bit confused .. do I need to use "--user"? , and is that a good option .. or is there another better way?09:01
ducasseMr_x: try with --user, as without it is a system install09:02
TJ-Mr_x: presumably your user doesn't have write permissions to /usr/local/lib/ - maybe execute the command using "sudo ..."09:02
ducasseconjo: which terminal are you using?09:02
conjobsh09:03
conjoi assume ubuntu ships with default bsh ill check09:03
Mr_xducasse, that is the good way for that?09:04
conjoGNOME Shell 3.36.409:04
Mr_xTJ how to give permission to user for /usr/local/lib/09:04
ducasseconjo: never used that before, but look under ~/.config09:04
TJ-Mr_x: if possible try ducasse's suggestion first09:05
Mr_xTJ- how to give permission to user for /usr/local/lib/09:05
TJ-Mr_x: otherwise prefix commands with "sudo " to elevate privileges09:05
conjoty09:05
conjowhat do you use?09:06
ducasseMr_x: i would generally install to a user directory before doing a system install with pip09:06
ducasseconjo: i don't deal with java, for terminal emulator i use roxterm and urxvt09:06
Mr_xducasse, can u give suggestion the correct command with "--user"09:07
Mr_xi already read docomentation but still confuse09:07
HamidrezaHi, I'm not understanding why when we want to ssh to a server without password , we should copy our public key to that server !!! I thought that we should have the remote server private key, How would it work?!09:08
ducasseMr_x: you should just need to add --user to the command line09:08
Hamidrezawhy we dont copy the remote server private key to our server?!09:08
ducasseHamidreza: the private key is not shared, it's private :)09:09
Mr_xducasse, like this correct ---->> python3 -m pip install --user -r requirements.txt09:09
Hamidrezaducasse, How would it work?09:09
Hamidrezawhat is the structure behind it?09:09
Hamidrezayou have my public key so I can ssh to you without password?!!!09:10
Hamidrezaits wierd!09:10
ducasseHamidreza: the private key on the host your ssh'ing from is authenticated against the public key on the host you're ssh'ing into09:10
Mr_xducasse, i mean where to put "--user" on that command09:10
Mr_x:D09:10
conjoducasse, this all i see in that dir any suggestions configstore?09:10
conjohttps://pastebin.ubuntu.com/p/XYDH8T4swW/09:10
ducasseHamidreza: look into public key cryptography09:10
Hamidrezaducasse, I confused09:11
Hamidrezacan You explaned it more09:11
Hamidrezaor give me a link please09:11
conjowatch a video on youtube09:11
ducasseHamidreza: https://en.wikipedia.org/wiki/Public-key_cryptography09:12
roryHamidreza, if the same key was used to authenticate as was copied to the server, then anyone with access to the server can get access to the private key09:12
AmaranthHamidreza: You can encrypt things with the public key that only the private key can decrypt. The server encrypts a challenge message and send it to the client, if the client has the matching private key it can decrypt and give the correct response09:12
roryHamidreza, that would be bad, because the private key is probably used to access lots of servers09:12
roryHamidreza, you can safely put your public key on a website and the worst people can do is let you log into their servers :)09:13
conjoHamidreza,09:14
conjoHamidreza, https://www.youtube.com/watch?v=GSIDS_lvRv409:14
ducasseconjo: i don't see a way to configure it from reading the man page, if you install bsh-doc you will get the docs in /usr/share/doc/bsh-doc/09:15
conjoty man09:15
Amaranthhttps://www.digitalocean.com/community/tutorials/understanding-the-ssh-encryption-and-connection-process#authenticating-the-user-39-s-access-to-the-server09:16
conjowhat where some of you're google search strings ducasse i didnt find anything but was at a loss for what to search for (succinct and accurate)09:17
conjoducasse, eg my search terms where verbose, and perhaps not even the right terminology09:18
ducasseconjo: i just installed the package and read the man page :)09:18
conjolol i feel dumb09:19
conjoty man09:19
conjorolf i must just rtfm09:19
ducasseconjo: don't, it's all a learning experience :)09:19
conjo;)09:21
ducasseconjo: if it is your terminal you want to configure, however, that is an entirely different issue09:28
=== semeion is now known as mnemonic
HamidrezaAmaranth, I understand what is priv and pub key and why we share our public, because private is private and just we should have it10:33
halvorsI'm trying to launch a container with unshare()10:33
Hamidrezabut10:33
halvorsFirst with busybox which works fine, but launching a daemon in the background does not work as process 1 exits when the daemon forks.10:34
halvorsAny way to workaround that?10:34
Hamidrezathe remote accept our public key and when we want to ssh to server it see that it can decrypt it with pub, so it understand this is me and let me in10:35
Hamidrezabut How it will encrypt my data?10:35
Hamidrezabecause if I encrypt my data via priv all body can see the content because the can decrypt with pub10:36
locsmif_workHow can I check what the latest binary nvidia driver is? If I google around, they just seem to 'know' the package name to provide to apt, which has an incrementing number in it. How do they know the number?10:38
oerheksubuntu-drivers list # would show available driver numbers?10:47
oerheks-340 and so on10:47
locsmif_workoerheks: that lists older ones10:55
oerheksthose are the official tested ones, there is a ppa with more drivers, https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa10:56
oerheksbut why do you need a newer one?10:56
ducasseHamidreza: anyone can encrypt data against your public key, but only your private key can decrypt it11:06
locsmif_workoerheks, I didn't see I needed a newer one11:17
locsmif_worksay*11:17
locsmif_workJust want a proper way to check what the newest one is11:18
ducasselocsmif_work: 'apt list nvidia-driver*' should work11:20
TJ-locsmif_work: do you mean, the latest version Nvidia publish, or the latest available in a particular Ubuntu release?11:21
amirouchehello, I updated my box this morning and restarted it, and now my lxc containers can ping the host, but can not ping the internet.11:43
amiroucheI will reboot...11:46
WaVI know they're gone, but I had a similar issue with IPV6 addresses (Possible upgrade related bug?). I temporarily disabled IPV6 until I cared enough to look into it.11:50
tilerenderinghola11:58
lotuspsychjewelcome tilerendering11:58
locsmif_workducasse: thanks12:04
locsmif_workTJ-: both, I guess, but for the newest nvidia, I suppose I can visit their website12:04
amiroucheafter reboot everything works as expected, it is probably due to me fiddling with systemctl12:17
=== terrorjack1 is now known as terrorjack
=== dynetrekk2 is now known as dynetrekk
=== antoine2 is now known as antoine
=== rickard9 is now known as rickard
tete_i have a webcam (logitech) and it works for pictures but it also has a mic integrated and somehow its not possible to use that. i used https://www.onlinemictest.com/ for testing and https://www.onlinemictest.com/de/webcam-testen/ for video12:20
tete_guess i found the problem, it was deactivated in pavucontrol ;)12:21
arseruHi! How is your system python setup? Do you people have a 'python' binary still pointing to python2.7 and 'python3' pointing to python3.X? I have ubuntu 20.04 and I don't have a 'python' binary, and I was wondering if that is correct or I should fix it12:36
ElliriaHey there, the https://ubuntu.com/tutorials/install-ubuntu-on-chromebook#3-installing-ubuntu-with-crouton page has a link near the top for downloading Crouton. It's a shortened Google link and I'm trying to find out where it takes you. Those goo.gl links are now deprecated, so you can't use the Google site to find out. Does anyone have the actual link to Crouton?12:40
ElliriaI've also been to Crouton's GitHub page and even they use those shortened Google links and don't give away their URL.12:42
oerhekstype crouton in bing?12:43
oerheksnot sure why you dislike google?12:43
ElliriaIt's a shortened link and doesn't tell me where it's taking me. I never click such things. I always check where they go.12:43
lotuspsychjedidnt ubuntu picked up on chrmbooks these days without crouton?12:43
oerheksElliria, no  clue either.12:44
ElliriaSomeone has a Chromebook and wants to install Linux and Crouton looks like the best way.12:44
ElliriaI've been searching for a while now and it's a bit rough, because you have to word your searches carefully or you'll get food results instead of that specific Crouton app's information.12:44
oerheksshow real url; https://urlex.org/12:45
ElliriaThanks, but that fails a scan as a phishing site. I appreciate the effort, though.12:47
* oerheks puts on a tin foil hat12:48
ExcessiveAggro:)12:49
ExcessiveAggrodang Elliria just left - i was going to provide the links12:51
ExcessiveAggroIn case he/she comes back - https://github.com/dnschneid/crouton12:52
ExcessiveAggroOerheks is this the main place people come for ubuntu support?  What is the most common support avenue? I like helping - helps me learn more :)12:58
oerheksThis is the main support channel, yes.12:58
ducasseExcessiveAggro: there's the ubuntu forums and askubbuntu as well12:58
oerheksalso there is #kubuntu #xubuntu and more12:59
ExcessiveAggroI might go check out the forums to see what i can do12:59
ExcessiveAggroI probably need to change my handle... people think I'm about to yell at them.12:59
lotuspsychje!contribute | ExcessiveAggro12:59
ubottuExcessiveAggro: To contribute and help out with Ubuntu, see http://community.ubuntu.com and https://wiki.ubuntu.com/ContributeToUbuntu12:59
BluesKajHi folks13:18
ExcessiveAggroHi BluesKaj13:19
BluesKajhi ExcessiveAggro13:26
HamidrezaHi guys, Is there any tuning for sysctl in ubuntu 20?13:35
HamidrezaI have this tuning for ubuntu 16.04 but I want this for ubuntu 2013:36
lotuspsychjeHamidreza: tuning?13:47
Hamidrezayeah13:47
lotuspsychjeHamidreza: a systemd manager, is that what you need?13:47
Hamidrezathings like nofile13:48
Hamidrezahard or soft in /etc/security/limits.conf13:48
Hamidrezaor sample about sysctl.conf13:49
oerheksthings changed with systemd.13:50
=== the_ant1 is now known as the_ant
=== sptz4 is now known as sptz
=== ace_me^^ is now known as ace_me
pizzaburgerHello! I might be having some issues with temperatures. Using sensors command, idle CPU temp ~44C, but once I start something light like a Twitch stream or a video it jumps to ~70C. Dell XPS13 i7-8550U, running Ubuntu 20.10.14:33
pizzaburgerCould any one please help me figure out what's wrong here?14:34
v0lksmankinda normal...?14:36
v0lksmanvideo isn't "light"14:36
v0lksmanbut if you think that the heat is really an issue you can check the fan and make sure it isn't cluttered with dust, good ventilation through your case etc...last resort would be to ensure that the thermal paste between your CPU and fan/heat sink is evenly spread and doing it's job14:37
pizzaburger70C is normal? The fan is going crazy too. Well the issue here is that it's a laptop14:38
v0lksmanhttps://www.google.com/search?q=xps13+i7-8550u+optimal+temperature&oq=XPS13+i7-8550U+optimal+temp&aqs=chrome.1.69i57j33i21.4440j1j7&sourceid=chrome&ie=UTF-814:40
v0lksmanquite a few mentions that that CPU runs hot14:40
pizzaburgerRIght. Well the issue I'm having is that I use a Dell USB-C hub to connect an external Dell monitor via DMIH, ethernet cable, USB mouse. The actual hub doesn't have charging capabilities, yet it still gets warm which shouldn't happen. quite regularly the hub just shuts down.14:45
pizzaburgerMOREOVER, haha, the 3,5mm jack has started emmiting a static noise whenever I connect external speakers and when no sound is being played.14:47
pizzaburgerSo I;m pretty much having a plethora of these issues and have no idea where to start. Thought maybe the temps were responsible.14:48
v0lksmansounds like a bad hub to me14:49
pizzaburgerOkay, will try taking it to an eletrician14:50
pizzaburgerHow do I approach the 3.5mm jack issue?14:50
v0lksmansorry was the jack not on the hub?14:50
pizzaburgerNo, laptopt jack14:50
leftyfbpizzaburger: an electrician isn't going to be able to help you with a piece of electronics14:50
pizzaburgerThe strange thing is that when I have a Whonix GW/WS open, that static noise disappears14:51
pizzaburgerleftyfb: You're right. Well to a person which fixes electronics. Electrical engineer?14:52
leftyfbpizzaburger: does it still make the noise if you reboot and just sit at the BIOS screen?14:57
pizzaburgerlemme check14:58
pizzaburgerBrb, have to reboot15:00
pizzaburgerv0lksman, so no static noise on BIOS screens. As soon as the LUKS FDE window appears for decryption before Ubuntu boot, the static starts.15:05
pizzaburgerAlso, if there's any sound being played the static stops15:06
pizzaburgerBack15:24
nbusroneHow do I set unzip files set to ram  ? Using SSD. Open a zip pdf file without extract which is 100mb but ubuntu cache it at ./cache/abced .I am using a SSD , wouldn't it cause more r/w to the SSD ?15:45
nbusroneif the file is 500mb , ubuntu will put the file into cache which take up SSD burden and increase write to system which prolong ssd life with lesser r/w ?15:46
oerheksr/w to ssd.. white spots damage are a long time ago15:47
oerheksand that would require writing to the same sector over and over again...15:48
oerheksso, no worries, nbusrone15:48
nbusroneoerheks : oh , the first day i use ubuntu on ssd , it wouldn't mind but long after using , i feel like file that always write to SSD may inflect of SSD lifespan15:49
oerheksthat was certainly the case, 10 years ago.15:50
nbusroneoerheks : what do you mean by certain case 10 years ago ?15:51
nbusroneoerheks : but somehow , I think ubuntu should have an option to extract the file to memory first. If a user fill up 70% of 250GB SSD , this will be larger impact of lifespan15:51
ExcessiveAggronbusrone: I think what he is saying - is that SSD lifespan in the scenarios you are describing are no longer something people worry about.  The lifespan difference is negligible15:52
oerheksthat 70% is not correct, it is more like 90-95%15:53
oerheksthen things slow down15:53
nbusroneoerheks : hm.. but what i heard was 70% , maybe some test refers to windows.15:54
nbusroneoerheks : Then , i shouldn't worry on r/w on ssd ?15:55
oerheksi would not worry indeed15:56
nbusroneoerheks : how do we count SSD total written on ubuntu ?16:03
nbusroneoerheks : I install gsmartcontrol shows total written  Logical Sectors Written is around 126000000016:04
nbusroneoerheks : since SSD now TLC not MLC16:09
newlinux^Hi how can I use proxychain for a specific app and not all over the system?16:13
routebeenewlinux^, I don't know exactly but a work around might be to use proxychains on a virtual machine and then you could run apps on the host without it16:37
ruediiBah, no luck16:49
avdeurmotd16:51
qbdhello, i have a problem with cloud-init, do i ask here on in the cloud-init channel ? its regarding not being able to connect with my user defined public key17:07
=== jiggawattz is now known as jiggz
=== jiggz is now known as jiggawattz
=== jiggawattz is now known as jiggz
jayjoWhen using UEFI booting, is there a reason to have a separate /boot partition? In addition to the EFI system partition at the beginning of the disk?17:39
jayjoI'm inspecting an installation after letting the installer automatically partition a disk with LVM, and referencing tutorials and documentation. e.g. https://linuxtutorials.net/install-ubuntu-18-10-server-with-custom-partition-layout-using-lvm-on-uefi-systems/ says to use a /boot partition in addition to the EFI system partition.17:41
jayjoit says the EFI partition should be 512MB at the beginning of the disk, and then a 1GB /boot partition should also be mounted17:41
jayjobut Ubuntu's automatic installation with LVM just seemed to use a 512MB EFI partition, and the rest of the disk is partitioned for LVM17:42
jayjoIs there any benefit to also having /boot a separate partition if ubuntu uses the efi system partition and mounts it at /boot/efi ?17:47
ExcessiveAggrojayjo: I'm not an expert here but the topic interests me.17:52
ExcessiveAggroI can think of some reasons but nothing that I seem to care about lol17:52
=== [1]MrMobius is now known as MrMobius
plushtrapbruh17:52
ExcessiveAggroHaving separate partitions means you could use a different disk with different performance and/or reliability17:53
ExcessiveAggrobut for those partitions i would imagine you would always want to have decent reliability and performance is not important given then only get utilzed at boot17:53
ExcessiveAggroSo I'm trying to think of a situation when those would matter... thoughts?17:54
ExcessiveAggroplushtrap: reread my comment and I can see where that would seem jerky without my follow-up messages. whoops didn't mean for it to sound that way17:54
ExcessiveAggrojayjo: you still there?  I looked around a bit and it looks like only grub and the kernels are stored there.  If that's the case I still can't think of a reason you need it on a different disk18:00
jayjoI am actually in the case of a single disk right now. But I'm using LVM, so I'm trying to determine if I should partition a /boot at the LVM level, or if there is some reason to have it external to LVM on the single disk18:04
leftyfbjayjo: only if you want the volume encrypted18:06
TJ-jayjo: /boot/ is for flexibility and separation of interests18:06
TJ-jayjo: e.g. I can use a common /boot/ file-system and have multiple root file-systems with different releases18:07
TJ-jayjo: for LUKS encryption with GRUB_ENABLE_CRYPTODISK=y it also means unlocking /boot/ FS is separate from unlocking root-fs18:08
leftyfbTJ-: right, but then you need to type the passphrase for each partition.... pain in the neck :)18:09
TJ-what's this 'type' ?18:09
leftyfbTJ-: not everyone has an auth device18:09
paniashhello there!18:21
daysunyes.18:21
daysunState your question, no need to fawn.18:22
paniashdaysun: thanks for the kind remarks. Just wanted to say hi :)18:24
ExcessiveAggroits really salty in here today ;)18:24
paniashlmao18:24
daysunpeople are losing their jobs, the economy is going down, politicians are being bullies, there's a pandemic and most anime shows has been put on hold. After the 10th video on "youtube", you get tired of it just got nothing more to do than being a grumpy linux hacker.18:26
ExcessiveAggrohaha daysun18:26
ExcessiveAggroHey I hear you... I had to put all the social media and youtube away for the past month18:26
paniashdaysun: sorry for not noticing. Just relax man :)18:26
plushtraphey does anyone here have instagram account I got some funny videos I got to show18:31
paniashplushtrap: I do! @idonthaveaninstagram18:33
plushtrapok18:33
plushtrapI am typing it in now18:33
paniashsure18:33
plushtrappm me18:34
=== hggdh_ is now known as hggdh
plushtraphey is your name paniash on instagram18:36
plushtraphey are you still there18:39
daysun!ops18:40
ubottuHelp! Channel emergency! (ONLY use this trigger in emergencies) - Pici, Myrtti, jrib, Amaranth, tonyyarusso, Nalioth, lamont, CarlK, elky, mneptok, Tm_T, jpds, ikonia, Flannel, wgrant, stdin, h00k, IdleOne, Jordan_U, popey, Corey, ocean, cprofitt, djones, Madpilot, gnomefreak, lhavelund, phunyguy, chu18:40
plushtrapoh ok18:41
daysunplushtrap and paniash instagramming here or whatever.. and advertising crap or whatever.. is off-topic.18:41
plushtrapok18:41
plushtrapoh no it is jess18:41
plushtrapbye18:41
jesseverything ok?18:41
plushtrapno u are going to kick and banned me like u did on freenode18:42
phillipsjkso I want to use the default terminator color theme (ambience) for xterm, but I am having trouble finding the colour table.18:42
octav1aI'm trying to figure out why load is so high for a program I'm running. It's 100% of one CPU, nearly 0% IOwait, 300gb of free RAM, and running very slow. What else causes load? (I'm getting a load of ~200!)18:42
octav1aoh!18:42
paniashplushtrap: I was kidding at the time, looks like you didn't get the joke18:43
* octav1a also pets jess18:43
jess:318:43
phillipsjkoctav1a, what is the program doing? That may be expected.18:43
octav1aIt's a scientific program, in the process of writing out some numpy arrays18:43
octav1aI don't understand why 100% on one core could generate so much more than 1.0 for load.18:44
=== ijohnson is now known as ijohnson|lunch
phillipsjkThe load average tells you how many tasks want to use the CPU. saw something similar for compilitg something: initially the load spiked, but only 6 threads (matching number of cores) were actually running at the same time.18:47
octav1aI've been monitoring this for days of running and the average remains very high.18:47
* phillipsjk has no idea beyond what he said.18:48
* phillipsjk points to #ubuntu-offtopic 18:50
octav1aphillipsjk: you were referring to me?18:55
pyeverythinghow should i fix "Error: Can't open display: desktop:0"? I am using a local machine (Ubuntu 20.04)19:22
=== FutureShock is now known as Abandoned
=== Abandoned is now known as Abandon
sarnoldpyeverything: how are you trying to start those X clients?19:28
=== user__ is now known as pavlos
=== ijohnson|lunch is now known as ijohnson
pyeverythingwhy is Error: Can't open display: desktop:0 error happening in local machine when I call xclock and how can I fix it in Ubuntu 20.04?20:06
sarnoldpyeverything: are you using ssh? how many computers are involved?20:10
pyeverythingsarnold: no I am not using ssh20:11
sarnoldpyeverything: are you using sudo or su or similar?20:11
pyeverythingonly one local machine which is a laptop sarnold20:11
pyeverythingit doesn't work with sudo as well20:11
sarnoldpyeverything: oh! doh. sorry. I'm just about a decade behind the times.20:13
sarnoldpyeverything: try DISPLAY=:0 xclock20:13
rustytacoI'm trying to solve an annoying problem i have, maybe one of you can help? I have a program (dsd) which processes an audio stream containing digital audio and outputs decoded audio. I pipe it to oggeng and then ezstream for remote listening, but oggenc exits when dsd is idle (Not outputting anything) I need to pad the audio stream with silence somehow20:13
pyeverythingI already have tried it and it doesn't work sarnold20:14
sarnoldpyeverything: really?? that's very curious :/20:14
pyeverythingsarnold:  please check here https://unix.stackexchange.com/questions/630957/xhost-unable-to-open-display-desktop020:14
sarnoldInvalid MIT-MAGIC-COOKIE-1 keyError: Can't open display: :020:17
sarnoldgood good, then that's progress.20:17
sarnoldpyeverything: set the XAUTHORITY variable to point to your Xauthority file, wherever your X startup routines have stored it20:17
pyeverythingsarnold: how do I do this?  set the XAUTHORITY variable to point to your Xauthority file, wherever your X startup routines have stored it20:25
pyeverythingthis is not my realm and I have no idea how to do it. I just want to get rid of this bug to continue my work! sarnold20:26
sarnoldpyeverything: something like XAUTHORITY=/home/sarnold/.Xauthority -- first, find where your X authority file is stored20:26
pyeverythingsarnold: ls: cannot access '/home/mona/.Xauthority': No such file or directory20:33
pyeverythingso I don't have a Xauthority file20:33
sarnoldpyeverything: your login sequence may store it somewhere else20:36
jwashMy network is 75% ubuntu 25% centos. I'm experiencing very poor network performance at random times. I think I have one computer that is the culprit. What are some strategies to track it down. 11 computers total.20:36
pyeverythinghow can i figure where it is stored? sarnold20:36
pyeverything$ fd Xauthority /20:37
pyeverything/run/user/1000/gdm/Xauthority-l20:37
pyeverything/run/user/1000/gdm/Xauthority-c20:37
pyeverything/run/user/1000/gdm/Xauthority20:37
sarnoldpyeverything: yay! try each one in turn20:37
pyeverything$ cat /run/user/1000/gdm/Xauthority20:37
pyeverythinggokuMIT-MAGIC-COOKIE-1R��9��s{�H��H�l��gokuMIT-MAGIC-COOKIE-1R��9��s{�H��H�l22377/31772MB20:37
pyeverythingwhy are these like so sarnold20:37
sarnoldpyeverything: you should protect these tokens better :) they're how connections to your X server are authorized, they should be kept secret20:38
pyeverythingare these supposedly private tokens by xauth? since I cannot read them sarnold20:39
jwashpyeverything: sudo doesn't work?20:39
sarnoldpyeverything: they should be readable *only* by uid 100020:39
sarnoldpyeverything: if you're not uid 1000 then perhaps you need to keep looking to find your xauthority cookies20:40
jwashi suspect a driver reinstall could fix it if you haven't done it yet20:40
pyeverythingsudo what? jwash20:41
pyeverythinghow do i know if I am uid 1000? sarnold20:41
jwashcan you sudo?20:41
sarnoldpyeverything: run 'id'20:41
pyeverythingsudo to what? for what command? jwash20:41
phillipsjkoctav1a, not, plushtrap20:42
pyeverythinguid=1000(mona) gid=1000(mona) groups=1000(mona),4(adm),24(cdrom),27(sudo),30(dip),46(plugdev),120(lpadmin),131(lxd),132(sambashare) sarnold20:42
jwashto reinstall the graphics driver20:42
jwashtakes 2 or 3 min20:42
octav1aphillipsjk: okay20:42
sarnoldjwash: X authentication cookies are entirely unrelated to graphics drivers20:42
sarnoldpyeverything: wait a second.. what *exactly* do you mean by "I cannot read them" -- you pasted their contents here, right?20:43
ntzhello20:43
pyeverythingI meant I cannot make sense of these weird characters ��9��s{�H��H�l��20:44
pyeverythingsarnold:20:44
pyeverythinganyways20:44
pyeverythinghow can I solve the actual problem now? https://unix.stackexchange.com/questions/630957/xhost-unable-to-open-display-desktop020:44
pyeverythingjwash graphic driver has no problem is running properly https://pastebin.com/raw/CmBLAXp920:45
phillipsjkoctav1a, I think I figured out how you can get a load average of 200 with only 100% CPU ussage: program spawns many subprocesses that all complete in 5ms on average. You should be able to verify this with changing PIDs in 'top' or similar.20:45
ntzI need little help with one thing .. I am not familiar with this .. helping to friend of mine who is not geek .. he wanted encrypted folder or volume .. I've created for him a file that is LUKS encrypted and could be mounted like virtual disk but I cannot find what to do that if he clicks on the file, the system will attempt to mount it like if it's usb ..20:45
ntznow the file has suffix .img20:45
pyeverythingand yes I can sudo20:45
octav1aphillipsjk: that's.....extremely strange20:46
octav1aBut I will look into that possibility.20:46
ntz# file encrypted_drive.img20:46
ntzencrypted_drive.img: LUKS encrypted file, ver 1 [aes, xts-plain64, sha256] UUID: 413412f2-79b4-4c55-9dca-ca5581a47a4a20:46
ntzit can be just mounted, contains one ext4 partition after doing luksOpen ..20:46
EriC^^ntz: maybe write a script that mounts it and stuff, and you could make a .desktop file for that, so he just double clicks and it does everything20:47
summonnerpyeverything, did you netcat your xrandr output?  eg.     xrandr | nc termbin.com 999920:47
ntzEriC^^: ok, yeah, something like that ... must be "bulletproof" because my frind is everything but not a geek nor interested in computers in real20:48
phillipsjkoctav1a, running the root process "niced" may fix the responsiveness issue.20:48
ntzI was interested if I can do it somehow smartly ... if I have in KDE a file with suffix .img, kde just offers me to mount it .. but not ubuntu20:48
pyeverythingI can't since I get an error Invalid MIT-MAGIC-COOKIE-1 keyCan't open display :0 summonner20:49
sarnoldpyeverything: have you tried *all three* of those Xauthority cookies with your XAUTHORITY environment variable?20:49
summonnerpyeverything, xrandr gives you that specific error?20:50
sarnoldpyeverything: you can't understand what those cookies say because they are similar in nature to ssh keys20:50
pyeverythingyes summonner20:50
EriC^^ntz: maybe its the kde file manager or some other program that's doing it that covers those files as default20:51
ntzEriC^^: https://infophagia.com/ntz/paste/c7981a214585f0c7084104afe2be46e2.txt20:51
ntz^^ if you wish to test it, here are commands to create a virtual drive20:51
summonnerpyeverything, sorry to ask a question you might have answered before, but you're LOCAL to the machine, right? you've logged in with the desktop? or you're trying to spawn gdm or something?20:53
pyeverythingsarnold:  yes I tried all three the other two were empty please check the updated post here to see results of id and everything else you asked https://unix.stackexchange.com/questions/630957/xhost-unable-to-open-display-desktop020:53
pyeverythingsummonner: please check https://unix.stackexchange.com/questions/630957/xhost-unable-to-open-display-desktop0 and read the first line20:53
sarnoldpyeverything: none of those code blocks show you setting the XAUTHORITY environment variable to the name of each of your Xauthority files20:56
EriC^^ntz: works fine here on ubuntu 16.04 (unity/nautlius)20:57
ntzthat it automatically opens the device ?20:57
EriC^^ntz: if i go to properties -> open with, it's set to open with disk mount manager20:57
EriC^^yes20:57
ntzok, cool, thanks20:57
EriC^^sorry "Disk Image Mounter"20:57
pyeverythingcheck the 7th code block sarnold20:57
ntzgreat, thanks ... lemme check20:57
pyeverythingactually I wrote it in the comments20:58
pyeverythingit didn't work anyways20:58
sarnoldpyeverything: I searched in the page for XAUTHORITY and *none* of the codeblocks show anythiung like: XAUTHORITY=/run/user/1000/gdm/Xauthority xclock20:58
pyeverythingnow it's the 8th code block in the original post20:59
pyeverythingplease check again sarnold20:59
pyeverythingdid you see it sarnold?20:59
sarnoldpyeverything: aha now it's there21:01
sarnoldpyeverything: dang. double-check the timestamp on the file and make sure it matches when you started X? or maybe, restart X, and make sure it gets updated?21:01
pyeverythingsarnold: should I use this command? sudo systemctl restart display-manager I am asking since I am a researcher not a sys admin21:06
shinobiMy wifi keeps dropping and sometimes asks me to reenter the password. This mostly happens when I am away and the screen locks. This does not happen when I boot to windows. Does anybody have any ideas on why this happens?21:10
pyeverythingsarnold: please check update 2 here https://unix.stackexchange.com/questions/630957/xhost-unable-to-open-display-desktop0 (in the beginning of question)21:10
Mr_xhye21:10
Mr_xanyone here know how to make cronjob/crontab for sumthing run on tmux21:11
Mr_xfor example on tmux run bot used command ./mybot.py21:12
sarnoldpyeverything: okay, that's promising; can you run xclock now?21:12
pyeverythingno I cannot sarnold21:13
sarnolddang :(21:13
shinobiCan someone put this in english: Direct firmware load for iwlwifi-cc-a0-56.ucode failed with error -221:19
sarnoldshinobi: errno -2 is no such file or directory21:19
shinobisarnold: How do I go about troubleshooting this?21:20
sarnoldshinobi: oh man :/ I don't even see that firmware in the upstream firmware collection https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/21:22
sarnoldshinobi: I wonder if this means intel hasn't published it yet?21:22
shinobiIt works kinda. It keeps dropping wifi connection and I manually have to connect again.21:23
shinobisarnold: Is there any open code that I can use instead?21:24
sarnoldmaaaaybe they only publish things here when there's *new* firmware to fix bugs21:24
sarnoldshinobi: not that I know of; basically everything requires firmware21:24
* phillipsjk still can't find the source-code for the "ambeince" theme, specifically the palatte. The CSS files for theme in the terminator data director just deal with geometry, not color. 21:34
phillipsjkMight be faster to take a screenshot, the use the sampling tool in GIMP.21:34
=== drmessano_ is now known as drmessano
=== jonmasters_ is now known as jonmasters
=== ILoveYaToo_ is now known as ILoveYaToo
=== lchlan_ is now known as lchlan
jeremy31sarnold: That is normal to see errors like that from Intel wifi, sometimes the newest firmware that the kernel can use doesn't exist yet21:56
shinobi_dmesg shows: deauthenticated from 1c:49:7b:74:fb:3d (Reason: 4=DISASSOC_DUE_TO_INACTIVITY)  This is my router correct?21:59
sarnoldjeremy31: cool, thanks :)22:00
jeremy31I wonder if power management is causing the issue22:00
sarnoldshinobi_: probably; check ip n output22:01
jeremy31shinobi_: Is power management on in results for>  iwconfig22:03
shinobi_jeremy31: no it's off. You helped me with that a few days ago. Thanks again!22:04
shinobi_Looks like the 802.11 protocol provides deauthentication reason codes. 4 is inactivity, but I cannot find where to change this.22:05
sarnoldI wonder if your router *also* has powersave settings that should be disabled?22:06
shinobi_sarnold: Yes, it does. It is not enabled though22:07
shinobi_how do I know if I am using n or g or ac?22:08
shinobi_this just showed up in dmesg22:13
shinobi_1c:49:7b:74:fb:3d denied authentication (status 1)22:13
justdogletTrying to install Ubuntu Server 20.04.1. Can't get a graphical installer no matter what I try. Safe graphics mode and regular mode both lead to a text-mode installer. Text-mode installer DOES NOT show all text necessary to install; for example, can't see VG members, etc.22:26
justdogletSystem is Dell PE R6525.22:26
sarnoldjustdoglet: the server installer doesn't have graphics22:26
justdogletsarnold: Awesome. How do I get it to show me the text it isn't showing me?22:27
sarnoldjustdoglet: it's been a year or so since I've gone through the installer, but the storage section was a bit confusing -- iirc you've got to expand storage sections22:27
justdogletFor example, can't see members when I'm adding to VG.22:27
justdogletYeah, but I can't see anything when I expand. Even prompted to use the newest installer, updated.22:27
justdogletIs there a way to force different text colours? Accessibility? I'm kind of desperate.22:28
* justdoglet sighs and regrets.22:29
lpalamedeHello, I have downloaded a hirsute server cloudimg and I saw no user/password to connect to this ova on my virtualbox. Please let me know where to get these22:51
jerryi upgraded to xubuntu-20.04.1-desktop-amd64 a few weeks ago and suddenly i have no ethernet interfaces22:57
jerryany ideas?22:57
jeremy31jerry: any result from terminal for> dpkg -l | grep linux-modules-extra-$(uname -r)22:58
jerryi'll have to check, i shut it down and it's not accessable atm22:58
jerrybbiab23:00
shinobi_I can't move files to the trash on zfs filesystems (non-system partition). Is there a way tell if it's mounted with my uid?23:21
lpalamedeseems like no one is using the daily builds23:21
bipptI have an update in Ubuntu Software but when I click <install> it looks like it downloads the updates and then they reappear as an update to be installed. One is a bios update (thinkpad x1) and the other looks like it is closely related. Is there something I need to do to get them to install?23:25
sarnoldbippt: maybe try running sudo apt update && sudo apt upgrade  from the command line, maybe you'll get some messages back that explain what's going on23:30
bipptsarnold, ok, i'll give it a shot23:31
pcfreak30Hello, I am having an issue suddenly where the network service hangs on 18.04 server.  When i go to recovery, i see the recovery-menu try to run networking.service but its not there, and I can see systemd-networkd + netplan seem to be used. I can use the network on a live cd. What should I be looking at?23:36
sarnoldpcfreak30: dmesg, journalctl, ip route, ip addr, ip link, networkctl status23:40
pcfreak30how do i enable networking on a root shell?23:42
derpadminwhut?23:42
pcfreak30b/c if i choose any ncurcuses option it will hang23:42
derpadminyou mean single user mode?23:42
pcfreak30yes recovery mode23:42
pcfreak30as I assume the service isnt started23:43
derpadminhmm, I think there is no network, used to be loaded after (back in the days in sysmtemV)23:43
derpadminrun level3 it was23:43
derpadminnow with systemd, unsure23:43
derpadminperhaps ask systemd?23:43
Bashing-ompcfreak30: ^^ Too: at boot-time netplan 'renders' a systemd-networkd config in /run/systemd/network/ - check there are files in there. If not, then there is no active network config. -> anything : journalctl -u systemd-networkd.service ??23:43
pcfreak30So how do I get the network prepared if it hasnt booted up fully as by that time it just hangs and i cant use any tty23:44
pcfreak30ok, thanks will try23:44
bipptsarnold, got the updates to work. ran apt and then restarted. thanks!23:47
ruediiYou might want to set your wifi to reinitialize on wake instead of trying to resume on wake.  Your router might not keep persistent authentication long enough.23:47
ruediipcfreak30, ^^^23:48
pcfreak30Bashing-om: could you please resend your last message. had to switch to laptop.23:48
ruediiYou could also try to simply run an ethernet cable if that's an option.  It's much more reliable if that's a choice.23:49
sarnold< Bashing-om> pcfreak30: ^^ Too: at boot-time netplan 'renders' a systemd-networkd config in /run/systemd/network/ - check there are files in there. If not, then there is no active network config. -> anything : journalctl -u systemd-networkd.service ??23:49
pcfreak30ruedii: it is ethernet, no wifi.23:49
shinobi_how are zfs filesystems mounted? I don't see an entry in fstab....23:49
pcfreak30sarnold: thanks. wish irc could sync history like discord :/23:49
sarnoldshinobi_: it's part of the zpool import process at boot23:51
sarnoldpcfreak30: yeah, I think such a feature would have meant most of those services wouldn't have even started23:51
shinobi_sarnold: should I be able to move files to the trash can?23:52
shinobi_meaning on a zfs filesystem23:52
sarnoldshinobi_: I don't know23:52
sarnoldshinobi_: does your 'transh can' implementation want to mv files or does it copy them to the trash and then delete the source?23:52
sarnoldshinobi_: does your 'trash can' implementation have the 'destination' storage on a different filesystem?23:53
pcfreak30ok figured it out23:53
shinobi_sarnold: idk it's the recycle bin on 20.0423:53
pcfreak30cloud-init is generating a file but the config seems to be a wrong nic name?23:53
pcfreak30in netplan23:54
shinobi_I can't drag/drop or cut/paste files from my zfs filesystem to the recycle bin23:54
sarnoldpcfreak30: oh that would do it23:54
pcfreak30cloud.cfg.d. i didnt realize cloud-init was doing shit. its bare metal..23:55
sarnoldshinobi_: do you have an ~/.xsessions-error file? maybe the errors get printed there?23:55
shinobi_sarnold: I have no file by that name23:56
sarnolddang23:57
sarnoldshinobi_: hmm, sorry, I made a mistake: ~/.xsession-errors23:57
pcfreak30what would cause a nic name to change?23:57
pcfreak30enp1s0 > enp2s023:58
pcfreak30no hardware change23:58
sarnoldthat feels like the second complain in two weeks about names changing23:58
shinobi_sarnold: I have no file by that name either, or nothing similar23:58
sarnoldthe previous person thought perhaps they'd plugged/unplugged some devices of some sort that might plausibly cause new names23:59
pcfreak30doesnt help in runing a bridge23:59
sarnold:(23:59
pcfreak30but still. im power cycling a lot. thought i currpted the fs when network manager was gone :P23:59

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