/srv/irclogs.ubuntu.com/2021/11/09/#ubuntu.txt

VIAwell setting the base color of my client to a darker one resulted in much darker random bg colors00:01
VIA*at least00:01
Bashing-omVIA: Progress made :D00:05
=== de-facto_ is now known as de-facto
VIAis it possible to have different fontsizes in diff terminal windws ?00:38
sarnoldit depends upon your terminal00:39
sarnoldsometimes they have keybindings to change font size, sometimes you can use a menu to change font sizes, sometimes you have to give a new font size at the command line when starting it00:39
Bashing-omVIA: Arch's guide on Xterm: https://wiki.archlinux.org/title/Xterm .00:40
=== gggpkm_ is now known as gggpkm
=== Aero is now known as Aro
=== Aro is now known as Aero
Gallomimiagood sirs (and possibly ladies) how do i install cuda? its surely simple.02:23
sarnoldGallomimia: I think installing nvidia-cuda-toolkit will get you a lot of the way there. there's a lot of Suggested: and Recommended: packages that may be useful for you, or perhaps even necessary02:26
Gallomimiathat helps thanks02:26
Gallomimiafor reference it's for mining on a desktop02:26
Gallomimiawow. 5 gb of diskspace to be used02:27
Gallomimianext question. is there a way to perform the updates of today at the same time as the install? seems a shame to do some work twice02:27
sarnoldhah good question02:28
oerheksdo updates first, reboot, new kernel today..02:28
Gallomimiaboot to the new kernel before install?02:30
Gallomimiaam i reading it correctly? new kernel and also update to ubuntu drivers? or new way the existing drivers interact with new kernel02:30
oerheksyou love new drivers02:31
Gallomimiasomeone informed me thusly that i won't get new drivers for my 780Ti cuz nvidia stopped supporting02:32
Gallomimiai say bomb their factory.02:32
Gallomimiaahhhh well that's a little extreme. maybe we should just make a 3rd GPU manufacturer to compete with them which fully supports FLOSS02:33
Gallomimia*click*click* REBOOT!02:34
Gallomimiaand if you haven't seen that show, you cannot use a computer again till you do!02:36
=== _koolazer is now known as koolazer
portmanteauI'm on lubuntu, but it won't install hexchat because gnome is missing? is that because lubuntu defaults to a different windows environment?03:00
guivercportmanteau, lubuntu will use hexchat; I'm using hexchat right now & I'm on Lubuntu/LXQt03:01
portmanteauI'm trying to use flatpak03:01
guiverchexchat is GTK2 (as old LXDE was), GNOME is GTK3 so a different library/toolkit to what GNOME & LXQt use by default03:02
portmanteaubecause i don't know how to compile from source03:02
sarnoldwhy not just use apt install hexchat?03:02
guivercwhy not `apt install hexchat`03:02
portmanteauk03:02
oerheksso flatpak wants gnome?03:03
oerhekslolz03:03
oerheksapt-cache depends hexchat # shows no gnome parts03:03
Bashing-omportmanteau: Looking at ' apt depends hexchat ' I do not see a dependency on Gnome.03:03
portmanteauI'm a Windows user so my instinct was to go to the software's site for download, not go to a singular source03:04
sarnoldhmm are you sure? I see a bunch of gnome packages in mine, this is on focal https://termbin.com/jj1v203:04
portmanteaudiscover had a problem03:05
kirk781Gnome Software by default tries to load packages via Flatpak; atleast on latest Gnome versions03:05
kirk781I remember installing Gnome extensions as the first 'app03:06
guivercwhat release portmanteau;  i use terminal mostly myself (or if I want to explore; aptitude which is a command line package manager; muon being the lubuntu GUI equivalent)03:06
kirk781showed a download size of one plus gig via the software store03:06
portmanteau"The application io.github.Hexchat/x86_64/stable requires the runtime org.gnome.Platform /x86_64/41 which was not found"03:07
oerhekskirk781, not on ubuntu, hopefully03:07
kirk781oerheks, Hopefully no. I was on Fedora recently and since it's essentially ships bleeding edge vanilla Gnome; that was the behavior on it. Canonical has the opportunity to modify before shipping03:09
kirk781The Hexchat installer on site by default links to the Flatpak version03:12
kirk781And flatpak will come with tons of pre configuration to be installed before apps can be installed via it. The one available via repos doesn't depend on anything else03:12
oerhekswe do not suggest go to their site, use apt03:13
oerheksthis whole flatpak thingy is not happening on ubuntu, we do snaps03:14
kirk781In either case, flatpak/snaps make sense if the version available via them is more frequently updated than the one via repos; HexChat is so rarely updated that even Debian's repos has the latest version :p03:15
oerheksstill waiting for a Central list of Flatpak repos03:17
guivercportmanteau, i loaded discover & the only 'hexchat' i found on search is deb based (plus numerous plugins); lubuntu jammy for me03:25
portmanteauty guiverc03:48
EnigmaThat worked03:54
Enigmalogging out and back in did the trick.03:55
=== jamesendreshowel is now known as JamesEndresHowel
=== JamesEndresHowel is now known as JamesHowell
=== monchi_ is now known as monchi
=== rvgate5 is now known as rvgate
=== gggpkm_ is now known as gggpkm
cpifok: so i am a novice linux user and a novice programmer. i am learning the basics of C with a book (instead of "hello world" the output of the first program is "Programming is fun." lol). i tried to install a program by moving it to "/bin", saving it under the name "test." but *now*, when i install software with "sudo apt install xxx" the final output at the terminal is "Programming is fun." was05:14
cpif"test" an important testing utility which apt runs at the end of a package install, and which i deleted??05:14
guiverccpif, before you name a program; I'd suggest using `whereis` to check it isn't already used; and I put my own code in /usr/local/bin/ (ie. a directory the system doesn't use; easier to manage in my opinion; and less collisions)... alternative usually used though is ~/bin/  (ie. your user bin directory)05:16
cpifthanks guiverc, i have certainly learned from this rudimentary experience that it is foolish to do otherwise than you are suggesting!05:17
cpifbut i am concerned that i have fucked the normal functioning of "apt"05:18
Guest68what is a .typelib file?05:39
deksarHow to install PHP 8.0 through official packages in Ubuntu? (No external repository) 20.04 LTS06:02
=== Guest913 is now known as Znevna
rfmdeksar, suspect you can't. either you can live with the slow LTS, or you can live on the bleeding edge, but not both...06:59
punkgeek2I want to add the second IP with a different interface, but netplan gives me the following error. anyone can help me?  https://paste.ubuntu.com/p/thX3p97RnV/07:02
=== diskin is now known as Guest3361
=== diskin_ is now known as diskin
=== five61 is now known as five6
=== SirScott5 is now known as SirScott
=== mkv is now known as m4v
=== pah is now known as pa
StyXmanI recently upgraded fromm 21.04 to 21.10, I found this difference: https://dpaste.org/9DKh this seems to be impacting my ability to run docker and lxd containers. anyone knows anything about this?10:46
Alex86nsI have problem with Ubuntu which is in read-only mode11:20
StyXmanAlex86ns: I guess oyu mean your filesystem is in read only mode11:21
Alex86nshttps://pastebin.com/vGu2gDY811:21
Alex86nsyes11:21
Alex86nsplease check link that i added11:21
StyXmanthis one?11:22
StyXman/dev/mapper/ubuntu--vg-lv--1 on / type ext4 (ro,relatime)11:22
Alex86nsshould be rew11:23
Alex86nsrw?11:23
Alex86nshow to fix it?11:23
StyXmancheck dmesg's output, it's probably complaining about a fs error11:23
StyXmaneither that or you're in a weird stage at boot11:23
cbreakStyXman: https://discourse.ubuntu.com/t/impish-indri-release-notes/21951 say "    systemd is being switched to the “unified” cgroup hierarchy (cgroup v2) by default. If for some reason you need to keep the legacy cgroup v1 hierarchy, you can select it via a kernel parameter at boot time: systemd.unified_cgroup_hierarchy=0 (bug 1850667 26)"11:24
ubottuBug 26 in Launchpad itself "Normal comments duplicated if they are in the .pot file" [Medium, Fix Released] https://launchpad.net/bugs/2611:24
ubottuBug 1850667 in snapd "Switch to 'unified' cgroup hierarchy (cgroupv2)" [High, Fix Committed] https://launchpad.net/bugs/185066711:24
cbreakStyXman: the bug thread writes "Docker supports cgroups v2 starting with version 20.10: https://www.docker.com/blog/introducing-docker-engine-20-10/"11:25
Alex86nshttps://pastebin.com/Ni1Q69UA dmesg log11:26
Alex86nsit is virtual machine VMware11:26
StyXmancbreak: tx11:27
StyXman[ 9463.805579] EXT4-fs (dm-1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead11:27
StyXmanAlex86ns: definitely a fs error11:27
StyXmanI _think_ you can run: fsck /11:28
cbreakhave you tried rebooting Alex86ns? maybe it'll ask for fscking on its own11:28
Alex86nsyes, I tried many time11:29
Alex86nsI start fsck11:29
Alex86nsseems it fixed the problem11:31
Alex86nsI also have the same issue on another Ubuntu servers11:31
Alex86nsWhat could be reason for this issue?11:31
StyXmanthat I don't know11:33
StyXmanit owuld be weird if this was a software instead of hardware issue11:34
StyXmanwhere HW in you case is whatever VMWare does underneath11:34
StyXmanweird but not impossible, tho11:35
Alex86nsI will check does severs are located on the same disk on VMware11:35
Alex86nsBut I have also centos server only Ubuntu has this issue11:36
StyXmanmaybe they're all on the same faulty disk, or maybe the disk image you run from has the issue11:40
StyXman(assuming they all share the same base disk image)11:40
StyXmanbut now I'm thinking un docker/container terms, so maybe it doesn't apply11:41
Alex86nsI checked, definitely disk is not problem because I have the same issue on two different VMware servers11:47
Alex86nswhich not using same disk11:47
Alex86nswhat is the best way to track this error?11:48
StyXmandefine track, I think we have a "lost in translation" problem11:48
StyXmanI'm not native English speaker11:48
Alex86nsmonitor11:57
Alex86nswhich log I should check?11:57
StyXmandmesg11:58
StyXmanbut it's going to be hard to come up with a filter that covers all cases11:58
StyXmanin this case it was an orphan inode list11:59
StyXman"Couldn't remount RDWR because of" would work only for the root fs, because it's first mounted ro, then remounted rw during boot11:59
Alex86nsStyXman thank you!12:00
Alex86ns:)12:00
StyXmanthe rest are just fsck'ed before mounting rw12:00
StyXmanno remounts involved12:01
WalexStyXman: mysterious errors like that could be due to lack of proper 'fsync'...12:16
=== gggpkm__ is now known as gggpkm
KolusionSo Canonical and stuffed Dovecot by making changes to it to the point where it is no longer inline with it's official documentation. I need to turn off port 993. According to the official documentation, this is done by changing it's port from 993 to 0. The configuration file did not have the port number, rather the service name 'imaps', so I12:53
Kolusioncommented it out and restarted the service. Dovecot is still listening on port 993. https://i.ibb.co/D9PsztB/Untitled.png12:53
KolusionAny suggestions?12:54
Gallomimiaheh. weren't you saying yesterday that canonical had their "stuff" together?13:03
Gallomimiawhat happens if you stop the service completely?13:04
KolusionGallomimia: Yes, but I also said too a degree. This is not one of them and there is many more!13:05
KolusionI think I may have made a mistake on this one anyway. The file the documentation is not the file I modified. The documentation sucks.13:06
KolusionAlso, I found lots of those brackets in that file for things like POP3, but POP3 isn't enabled, so that file can't be responsible for the open port. I don't know which file I need to change. The documentation is lacking.13:07
Kolusionhttps://doc.dovecot.org/configuration_manual/service_configuration/13:07
KolusionThe first sentence says "The important service settings are described in the example-config/conf.d/10-master.conf file."13:07
KolusionWhich is not an absolute file path, and I have no idea where it is.13:08
KolusionA joke13:08
KolusionSerious13:08
TJ-Kolusion: dovecot's configuration is the same as upstream's, and is not altered by Ubuntu. In fact, Ubuntu's config is inherited from Debian, which uses upstream's ./doc/example-config/conf.d/ into /usr/share/dovecot/conf.d/13:09
KolusionThis is all meaningless to me13:09
KolusionI just want to know which file I have to edit to turn off port 993.13:09
KolusionWhy does this have to be so ridiculsly hard13:10
TJ-Kolusion: for any package you can find where a file is installed using "dpkg -L <package> | grep <searchterm>"13:10
KolusionTJ- I will forget that13:10
KolusionThanks but13:10
KolusionSo Dovecot's documentation says to port 993 to 0 to switch it off, but it doesn't say where to make that change.13:14
Kolusionhttps://doc.dovecot.org/configuration_manual/service_configuration/#port13:14
KolusionThat's all I want to know, I have been trying for 1 hour13:15
KolusionThis isn't normal13:16
KolusionAnd def not elite13:16
KolusionJust crap engineering13:16
ravagehttps://p.haxxors.com/0e9uee2i.txt13:16
ravageworks perfectly fine in my dovecot.conf13:17
KolusionLet me see mate13:17
KolusionI was editing that file and that part, but in another path.13:17
Kolusionhttps://i.ibb.co/D9PsztB/Untitled.png13:17
ravagethe conf.d files are not read here13:17
KolusionWhat is it's purpose?13:18
ravagedont know13:18
KolusionFair mate13:18
ravagei assumed it was because i made changes to my config13:18
KolusionI will edit that file you showed me now13:18
ravagei think the original config has "!include conf.d/*.conf"13:19
KolusionI checked that file before at '/etc/dovecot/dovecot.conf'. My file does not contain that part you showed me.13:20
KolusionThat is why I went on to edit '/etc/dovecot/conf.d/10-master.conf'. That file contains the part you showed me, but commenting it out had no effect.13:22
KolusionI think the other services like POP3 aren't running despite not being commented out because I don't have their modules installed.13:23
KolusionI bet you this is a total POS13:26
KolusionI think if you comment out the section, the actual program treats it as default. I think you need to actually specify port 0 in the section. I will try this theory now.13:27
Gallomimiai have to say i agree with you Kolusion. while i must suggest coming thru here with ire and acid won't help you get help... i don't think the linux community as a whole will be called "serious" until they get rid of the 8 different places config files are kept, and most of them superfluous13:27
ravageyes if you enable a protocol like imap it will create the default listeners unless you define them otherwise13:28
=== waltman_ is now known as waltman
KolusionMy theory was correct. If you completely comment out the section for IMAPS, it doesn't disable it, the dovecot program will use the default of it being enabled. You actually have to specify port 0 in the configuration file!13:33
KolusionSo Canonical has broken it.13:33
KolusionThe Dovecot version shows it is a Canonical version, not Debian.13:34
KolusionJust like they have broken Apache HTTP Server, and countless other apps.13:34
KolusionWhat ever13:34
KolusionThanks guys13:34
Gallomimiafile a bug report sir13:34
KolusionIt's not a bug, it's stupid design.13:35
Gallomimiasame shit.13:35
KolusionHAHA13:35
Gallomimiamy point is there's zero chance of it being fixed before you file an issue13:35
Gallomimiaand after, well. maybe 2% ? but not zero13:35
KolusionThe problem is GPL, it allows for software to be modified and re-distributed with the same name. So you get all these versions of for example 'Dovecot 1.2.3', that are not the same, which results in this type of mess. I have made bug reports before of this engineering problem, no one cared and said to stop complaining.13:36
Gallomimiai do agree GPL has become a problem13:36
Gallomimiawhich is a shame because stallman was such a force for free-ness13:36
KolusionMeanwhile, MSFT is at peak price and leaders in the FOSS community can't get their head around while no one wants to use their stuff.13:37
KolusionStallman is alright, I like him.13:37
Gallomimiafighting amongst themselves to13:37
KolusionYeah, don't get involved mate.13:38
Kolusion:)13:38
Gallomimiaand just be amish? never use a computer again?13:38
Gallomimianah. pretty sure i'll be getting into it up to my elbows. if not my shoulders13:38
KolusionI usually don't tell people I use Linux in reality, to avoid philosophical arguments from the evangelists.13:38
leftyfblets take the non-support discussions to #ubuntu-offtopic please13:38
Gallomimiayes and what other side channels are there leftyfb ?13:39
leftyfb!alis | Gallomimia13:39
ubottuGallomimia: Alis is an IRC service to help you find channels. For help on using it, see «/msg Alis help list» or ask in #libera - Example usage: «/msg Alis list http»13:39
KolusionI have to go now, I just needed to get that port problem fixed. Thanks guys13:39
BluesKaj'morning all13:44
manwhowouldbekinGreetings all! Can I get some help on installing a freshly built package?14:00
lotuspsychjemanwhowouldbekin: wich package would that be?14:03
manwhowouldbekinWhen running sudo checkinstall after building the latest Emacs, I get the following error. How do I proceed? The current Emacs version installed is 26. https://pastebin.com/j05nGmip14:03
lotuspsychjemanwhowouldbekin: we rather focus on ubuntu related issues here, strongly advice to install packages from our repos/snaps instead of own compiles14:04
manwhowouldbekinThis is an Ubuntu related issue, right? I am trying to figure out how to uninstall something?14:05
manwhowouldbekinSpeaking of which, how does one find out the latest available Emacs in Ubuntu repos?14:06
tarzeauapt-cache policy emacs ? (if that's the pkg name)14:08
tarzeauor packages.ubuntu.com/emacs14:08
=== pah is now known as pa
manwhowouldbekinBasically, I am building the latest from source because it has some features, which the latest in repo does not have.14:15
lotuspsychjemanwhowouldbekin: the emacs snap is 2714:16
manwhowouldbekinlotuspsychje: I need 28. That is the latest at the source.14:17
Gallomimiamanwhowouldbekin, so, does apt uninstall emacs do what you need?14:30
Gallomimiafrom there build your version. with help from emacs support14:31
manwhowouldbekinGallomimia: That could be the problem. So, first uninstall the previous version? I did that after I began getting the error, but it didn't seem to help. I seem to get the compiled version working, but not quite. There appear to be overlaps between packages.14:33
Gallomimiayeah, obviously14:33
Gallomimiaever tried putting two engines in a car? how's that work?14:33
leftyfbmanwhowouldbekin: if you removed the apt version of emacs, it is not conflicting14:34
manwhowouldbekinGallomimia: I had a setup previously with three different Emacs version. I was using one at a time, though.14:34
Gallomimiai'm under the impression that a snap would not conflict14:35
Gallomimiaalso, if your installations are contained within separate directories that would work fine. i'm assuming the default package doesn't do this14:35
manwhowouldbekinGallomimia: Would you say I need to re-run the entire config and make or just do the sudo checkinstall step?14:36
Gallomimiai would not say either, as i don't know14:36
Gallomimiabut it is my experience that a config file for an old version usually mucks around a new version that has new features14:37
Gallomimiaon other products. never used emacs14:37
Gallomimiathe last time i even seen emacs used was on solaris in 200214:38
Dr-007question, ive got an external hard drive thats not in my fstab: https://paste.ubuntu.com/p/7CyTy9TnM9/ but is still automatically mounted. i believe i once did this via the graphical interface of ubuntu. all my internal hard drives are mounted in the folder /mnt/ except the external one is mounted in /media/some/subfolder. i thought ill make a few symlinks in /media/ to /mnt/sda1. so i did14:43
Dr-007`ln -s /media/sda1 /media/downloads_disk'14:43
Dr-007it created a symlink but its red14:44
Dr-007can i mount my internal hard drives in both folders? in /mnt and /media14:45
Dr-007or is there a way to make the symlinks work14:45
Dr-007also in the past i tried mounting the external drive via fstab but this lead me to problems because the drive wasnt ready and ubuntu/fstab was trying to mount the drive already. i 'annoys' me that it isnt present in my fstab though. its like im missing a drive but im not. (since its mounted via another route, aperantly)14:47
Alex86nsI have the problem with mapping share drive14:50
Alex86nsmount -t cifs //10.21.2.85/Appllication/test -o user=mapdrive /mnt/share14:50
Alex86nssame command working well on Centos 814:50
Dr-007what is your error14:50
Alex86nsmount error(2): No such file or directory14:50
Alex86nsRefer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)14:50
Alex86nsI tried everything :(14:51
Dr-007is the word Appllication written rightfully?14:51
Dr-007does it exist? same goes for /mnt/share14:51
ThaurwylthIs there a KDE/Plasma image viewer software that allows next and previous browsing of images? It seems to me that the current Ocular doesn't do this and it irks me greatly. (Also non KDE answers are of course OK. This is a generic question.)14:51
Alex86nsVFS: cifs_mount failed w/return code = -214:51
Alex86nsDr-007, yes, I create dir /mnt/share14:52
leftyfbAlex86ns: are you using sudo for the mount command?14:52
Dr-007the word application seems written wrong. double l14:53
frodoThaurwylth: the default gnome image viewer has that feature14:53
leftyfbthat too14:53
Alex86nsyes, I am using sudo14:53
Alex86nsdr-007, path is OK14:54
Alex86nsbecause I used same on Centos14:54
leftyfbAlex86ns: is the CIFS share purposely mispelled?14:54
Alex86nsand it works well14:54
Alex86nsleftyfb: yes14:55
Alex86nsit is just example, problem is not in path of share14:55
Alex86nsbecause I using it on Centos and it works well14:56
Dr-007wierd. maybe you can try exploring the network with another tool. see if you can see it. perhabs it gives an error that gives more insight. but dmesg could give that right now14:56
Alex86nsI tried also vers=1.014:56
Alex86nsand14:56
Alex86nssame problem14:56
ThaurwylthLet's back down a little... Say I don't want to install GNOME software as a first solution. Is there anything else I could do, before that?14:58
frodoyou don't have to install all of gnome, just install 'eog' for the image viewer14:59
frodoThaurwylth: I think xfimage has that feature too, and it's not part of gnome, but it's interface is... dated.15:01
ThaurwylthLet's see...15:02
bailsmanIs there any way to encrypt an unencrypt ubuntu vm with luks while it is running - with no or limited downtime?15:05
ThaurwylthAdditional 130 MB will be used, tee hee hee hee. But I sure want those browsing buttons.15:05
bailsmanI imagine yes for data volumes, unlikely for root volume - is that correct?15:05
Alex86nssudo apt-get install keyutils solved my problem15:07
frodobailsman: I'm pretty sure you can't LUKS encrypt anything while it's mounted15:07
bailsmanfrodo: It seems theoretically possible with just a quick remount to go through some kind of "translation layer" that just transparently encrypts blocks as it goes15:09
bailsmanI'm OK with just a reboot15:09
bailsmanbut I'm not sure if that's practically possible too15:09
leftyfbbailsman: that technology does not exist in ubuntu today15:10
imihi, I have 3+ microphones in my computer, and I have a problem with discord16:01
imiis there a way to make sure only one specific microphone is used?16:02
Dr-007so i added my external drives to fstab and it works okay now. but is there an option to mount those when the computer has already booted up. now it takes longer for the pc to start because its doing an filesystem check.16:07
Dr-007imi, there are files you can edit so only one mic is recognized/used16:10
imigood which files?16:11
Dr-007i once did the same for output audio devices. it defaulted to 1 thing while i wanted it to use another16:11
Dr-007i dont remember :P16:11
Dr-007let me google real quick see if i can find it16:11
Dr-007oh yeah, for me it was related to pulseaudio16:12
Dr-007you could create a config for the user that logs in in the home directory ~/16:13
Dr-007but i dont know if this applies to you16:13
=== genii-core is now known as genii
VIAelo back at zero16:38
VIAhow do i find out which termianl im using?16:39
Dr-007VIA, top or ps -ax gives you a list of all running programs16:42
VIAtop16:42
VIAi thought my question was more on the specific side16:43
Dr-007you want to find out what terminal you are using16:46
VIAcorrect! are we doing riddles now?16:48
mordantcan anyone give me a hand setting up a dead simple SFTP instance? I have it all configured using internal-sftp, I can login with the allowed username, but I can only connect if root is the owner of the destination folder, and the only one allowed to read/write, deafeating the purpose16:48
mordanttrying to do a chroot16:49
Dr-007VIA, with ps -ax or top you can find the terminal youre using17:05
VIAthere is not any specific command that would simply answer this question to s monkey like myself?17:08
Dr-007i dont get why you dont know what terminal youre using in the first place..17:13
Dr-007terminal means the graphical interface in ubuntu17:13
Dr-007so you could just look at the title17:13
oerheksecho $0 # would show bash/ksh/csh17:14
VIADr-007: i understand fully. i am an unworhy imbecile, p!3ce of sh1t even. because, how could any person not using what terminal theyre using, in the first place? duch iditiots.17:21
VIAs*17:21
oerheksvia stop the silly rant, and loot at the answer i gave17:22
VIAbtw, so far i was under the impression Terminal; usually refers to Terminal-Emulator. it is precisely not the GUI the OS is using, but instead an Emulation/Gateway to the non GUI controls within a Linux system.17:23
VIAI'm eager to learn17:24
Dr-007so, is oerheks the answer youre looking for?17:25
VIAy oerheks, have you given me the 'correct' (or best) anwer before ?17:27
VIAfogive me in that case, im terrible with names17:27
VIAand i dont think buffer is long enough17:27
=== Abrax- is now known as Abrax
frodoVIA: if you're using stock ubuntu, it's probably gnome-terminal. If your terminal has a menu bar, you could try help->about17:30
AstreaeDoes anyone here have experience with smart cards and how they relate to GnuPG? For some reason my GnuPG install can't find the scdaemon, and if I try to manually start the daemon it tells me the command isn't found.17:33
AstreaeI have double-checked that the daemon is installed of course.17:33
frodoAstreae: I have never used it, but the binary should live in /usr/lib/gnupg/scdaemon, which is probably not in your path17:36
AstreaeI've not needed to manually add a binary before, what's the command to append it?17:36
frodoPATH=$PATH:<extra stuff>, but I would probably just use the full path to run it instead of addiong that to my path17:38
frodoyou can just run "/usr/lib/gnupg/scdaemon" instead of "scdaemon"17:38
AstreaeThat got the daemon running, now to find out why it isn't starting automatically.17:40
frodoI read a bit about it, and I'm not sure you're meant to run it like that. I think maybe gpg-agent handles that?17:41
AstreaeIt's supposed to, but the agent isn't calling it on its own.17:41
oerheksfound this, a clue; https://www.fsij.org/doc-gnuk/stop-scdaemon.html17:42
Astreaeoerheks "component not found"17:42
frodoAstreae: might want to look into pcscd. I'm looking at this: https://gist.github.com/artizirk/d09ce3570021b0f65469cb450bee5e2917:43
AstreaeI found that myself earlier, but when configuring as they did ykman can find and cooperate with the smart card but the gpg --card-status command reports no scdaemon found.17:44
AstreaeAnd when I manually started the scdaemon it tells me that it can't find an openpgp card.17:45
frododid you restart gpg-agent before trying to do what oerheks suggested?17:45
AstreaeI did.17:45
AstreaeIn a random bid to see if it would work, I re-inserted the smart card...17:47
AstreaeAnd it now works.17:47
frodolol, well that's good17:48
AstreaeI think the gpg-agent doesn't automatically detect the card if it's left in from login.17:48
AstreaeSo I'll have to re-insert it.17:48
AstreaeNow to see if it'll repeat that behaviour after reboot.17:49
AstreaeI can confirm that's the case.17:51
AstreaeI have spent the past 4 hours working on this, and it's as simple and pull it out and plug it back in.17:51
Dr-007Astreae, you reminded me that i bought a smart card reader years ago. just plugged it. fun times17:52
AstreaeDr-007 I got a yubikey a while ago for some added security, and it's been working great except for when stuff like this happens lol. I've been wanting to transition my keys over to GPG and getting the card to cooperate was the last stopping point.17:53
Dr-007i bought mine like 10 years ago because i wanted to see what was on some cards just to find out that they were different techniques/chips. probably nothing changed in that matter. ive got a cheap konig reader17:56
AstreaeOne of these days I'm gonna feel all cool and turn my house lock into a smart card reader and give my roommates NFC cards.17:57
AstreaeAnd then I'll be debugging it for the next century until I return to a normal lock.17:57
mike_hi17:59
Dr-007Astreae, yeeeeey: https://paste.ubuntu.com/p/bs3m6THbJw/18:02
AstreaeNice18:03
Dr-007boooo: Failed to connect to reader: Card not present18:04
AstreaeAwwwww18:04
cbreakI use yubikeys.18:14
cbreakessentially a smart card and a card reader in one :)18:14
cbreakworks well for GPG / SSH on MacOS and Linux18:15
AstreaeWhen they work at least 😩18:15
AstreaeWell, technically it's a failure of the software. But I still spent far too long trying to make it work!18:16
Dr-007where did you buy your smart cards? amazon or something? i thought theyd be cheaper18:20
tomreynplease remember to move non ubuntu support chat to #ubuntu-offtopic18:21
AstreaeDr-007 I bought mine directly from Yubikey, I think they were worth the purchase. Though to respect the rules, I'll also be in the other channel for further discussion.18:23
Dr-007ok18:24
saltyboimagnusHello friends, I replaced my old AMD GPU with an Nvidia GPU, but now my desktop manager isn't starting up. I'm running Ubuntu 20.0418:25
saltyboimagnusI am able to access the terminal, and installed the latest nvidia drivers, and rebooted, but that didn't help18:25
saltyboimagnusWhat can I do to get my desktop to start up?18:26
lotuspsychje!nomodeset | saltyboimagnus try this18:26
ubottusaltyboimagnus try this: Systems with certain graphics chipsets may not boot properly out of the box. "Temporarily Add a Kernel Boot Parameter for Testing" as discussed at https://wiki.ubuntu.com/Kernel/KernelBootParameters to add the "nomodeset" parameter there.18:26
saltyboimagnusAHH I got it working! I had to uninstall the old AMD drivers18:28
dudenamedbebevening all18:30
dudenamedbebwin 218:33
=== jhutchins is now known as salamander
arkanoidwhat's the correct way to add an iptables rule at boot in ubuntu?18:43
arkanoidno ufw involved here18:43
AstreaeA script put into .bashrc or a systemd service.18:47
tomreynone approach is to add it live, and use iptables-save / -restore to have it put in place again later.18:48
leftyfbI put a script in /etc/networkd-dispatcher/routable.d/ that calls iptables-restore as needed18:49
tomreynsee also the iptables-persistent package18:50
arkanoidthanks18:51
AstreaeAmusing how 3 different people had 3 different solutions.18:51
tomreynhere's yet another, this time for network manager https://help.ubuntu.com/community/IptablesHowTo#Solution_.233_iptables-persistent18:51
leftyfbin linux there's usually multiple solutions to a problem18:51
AstreaeDefinitely, and that's a good thing. Still amusing though.18:51
tomreynoops, wrong anchor, try this https://help.ubuntu.com/community/IptablesHowTo#Configuration_on_Startup_for_NetworkManager18:52
AstreaeDoesn't ubuntu use netplan instead of network manager for most things now though?18:55
leftyfbAstreae: the desktop uses NM with netplan/networkd as the backend that shouldn't be touched. Server uses netplan/networkd18:56
leftyfbI do not recommend NM be used for setting up iptables18:56
AstreaeThat makes sense, I've only really done network configuration on servers so I assumed the same tools were used on both and Desktop just got a GUI for it.18:57
lidlessHello :) I just installed a fresh ubuntu 20.04. I'm using proprietary nvidia drivers for the eGPU, but I'm noticing my screen on the intel driver is super, super laggy. This is a first for me19:12
tomreynlidless: is it fresh hardware?19:15
lidlessNo, I've had previous versions of ubuntu on here working without the lag19:20
lidlessgranted I haven't kept an xorg.conf like I should've, so this may be different19:20
tomreynthat shouldn't be needed for the intel, but nvidia tools should be creating one.19:23
tomreynwhich kernel are you running?19:23
lidlessEek, good question. I just got to work. It would be the latest in the branch that ships with it (I ran apt update && upgrade after installing)19:39
octav1aI'm trying to disable the intel GPU ; I have an Nvidia one also. There are no options to do this in the bios. I tried putting "blacklist i915" in /etc/modprobe.d/blacklist.conf, yes the module is still loaded after a restart.19:45
=== ravan__ is now known as ravan
=== Fatal_Sushi is now known as OO7
=== OO7 is now known as Fatal_Sushi
GrayGhostI have a Asus gaming computer with an nvideo card, was working fine ... power filicker off and back on and now the nvideo driver is not working19:54
GrayGhostif I boot a usb stick or windows it works fine ... how do I recover the driver19:55
GrayGhostI have tried reinstalling it ... same problem19:55
GrayGhostI don't want to reinstall the OS19:56
GrayGhostI am running 21.10 gnome19:58
GrayGhostdo I have to reinstall the kernel ?19:59
=== vlm_ is now known as vlm
=== klebers_ is now known as klebers
=== jose_ is now known as jose
=== manuels5 is now known as manuels
=== mnepton is now known as mneptok
=== Starmina_ is now known as Starmina
=== Escimo3 is now known as Escimo
=== arif-ali_ is now known as arif-ali
=== GLaDER1 is now known as GLaDER
=== kn1001 is now known as kn100
=== WaV2 is now known as WaV
=== Erisa0 is now known as Erisa
=== rvgate3 is now known as rvgate
=== rud0lf- is now known as rud0lf
=== toabctl_ is now known as toabctl
=== invisiblek_ is now known as invisiblek
=== monchi_ is now known as monchi
=== genii-core is now known as genii
=== coetzeer_ is now known as coetzeer
GrayGhostif I boot the older kernel the graphics is back to normal20:07
GrayGhosthow do I reinstall the latest kernel ?20:08
sarnoldapt install --reinstall20:08
sarnoldcheck with debsums to see if there's anything actually broken20:08
=== salamander is now known as jhutchins
GrayGhostresults of --reinstall :  0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.20:10
sarnoldGrayGhost: you've got to tell apt which packages you want to reinstall, too20:13
GrayGhostI am not smart enought to know how to do that :(20:18
sarnoldGrayGhost: then perhaps debsums -c is a good starting point20:19
AstreaeRun `apt list | grep nvidia` and tell us the output.20:19
=== auronandace is now known as ThinkT510
GrayGhostWARNING: apt does not have a stable CLI interface. and then about 20 pages of drivers20:23
AstreaeWhoops, forgot a flag.20:23
AstreaeRun `apt list --installed | grep nvidia'20:24
GrayGhostAstreae, now only two pages of nvidia drivers20:25
GrayGhostbut I am now running the kernel that works fine with the nvidia20:26
AstreaeWhat version is the drivers?20:26
AstreaeAnd what kernal for that matter.20:26
GrayGhostnvidia-470/impish,now 470.74-0ubuntu120:27
coz_have no intension of learning java so, dreams dashed20:28
AstreaeWell, your driver is the latest. I'd probably have to say your kernal is borked.20:28
coz_oops wrong channel20:28
AstreaeSince you have it running fine in an older version, I'd say you should probably reinstall that kernal.20:28
GrayGhostnow runing  5.13.0.20 works fine .... I think .21 is the problem20:28
GrayGhostwhat would be the syntax for reinstalling 5.13.0.2120:29
GrayGhostgot it   reinstalling now20:31
AstreaeDon't forget to rebuild Grub.20:31
AstreaeIf this doesn't work, I'd say pull out a live cd and try a repair.20:32
GrayGhostAstreae, no joy :(20:36
AstreaeDo you get a kernal panic or just a black screen?20:37
=== thegodsq- is now known as thegodsquirrel
GrayGhost5.13.0.20 works fine  5.13.0.21 does not have nvidia support20:40
GrayGhostI do not understand how a power faliure could dammage the kernel, unless it was writing to the disk at that exact time20:45
AstreaeIt very well could be.20:47
leftyfbGrayGhost: boot to 21 and reinstall the nvidia driver. My guess is DKMS isn't kicking in and building the driver for the 21 kernel. Maybe you're missing the -modules package for that kernel?20:49
sarnoldwhat's dkms for? I thought we had binary packages for nvidia?20:50
leftyfbdepends on how they installed the drivers for it20:50
GrayGhostI did a reinstall of the nvidia drive ... no help20:50
geniiOther things also use DKMS20:51
sarnoldsure, I've got some debugging builds of zfs installed through dkms20:51
sarnoldand when something busted in the kernel apis, it felt like we suddenly found a dozen different packages all doing dkms things20:51
sarnoldbut for nvidia specifically we've got binary packages, so I'm surprised to hear dkms raised in this context :)20:51
leftyfbGrayGhost: apt list --installed |grep $(uname -r) | nc termbin.com 999920:52
=== pizzaiolo is now known as pizza
leftyfbGrayGhost: how did you install the nvidia drivers?20:53
leftyfbsarnold: I'm pretty sure if you install the nvidia drivers from the .bin from nvidia's site, that requires DKMS to build it for each new kernel20:53
AstreaeThe nvidia drivers use DKMS for their kernel modules.20:54
sarnoldleftyfb: oh that makes sense. kind of. I don't know why you'd do that :)20:54
GrayGhostsudo apt install nvidia-driver-45520:55
leftyfbGrayGhost: and the output of the command I posted?20:55
GrayGhosthttps://termbin.com/ofa120:57
GrayGhostthat is from .2020:57
GrayGhostnot .2120:57
leftyfbGrayGhost: apt list --installed |grep 5.13.0-21 | nc termbin.com 999920:58
GrayGhosthttps://termbin.com/gm1y20:59
GrayGhostbooted back in to -21   no nvidia :(21:09
GrayGhostI reinstalled nvidia 470 and that rebuilt everything and is working again :)21:18
GrayGhostthanks for the help .. all21:19
coconutlucky you21:21
GrayGhosteach time something brakes and you fix it , you learn a little more21:23
=== MIF is now known as Kilroy
sarnoldGrayGhost: woot!21:36
=== denningsrogue0 is now known as denningsrogue
GrayGhostsar21:47
GrayGhostsarnold, woot  means good ?21:48
sarnoldGrayGhost: yeah :)21:52
=== pnwise__ is now known as pnwise
kevinnnHi all, where are the logs for dockbarX located?22:14
sarnoldif it's running, try lsof and see if it has log files open at the moment22:15
kevinnnnope it doesn't22:16
kevinnnhonestly I am running into a really annoying issue with the xfce4 plugin for DockBarX. It just shows up on my screen as a blinking line22:17
kevinnnhttps://imgur.com/a/2OYmFfj22:17
sarnoldif it's an X11 program it might log stuff to standard output and standard error, that's often stored into ~/.xsession-errors22:17
kevinnnrebooted..22:17
kevinnnreinstalled...22:17
kevinnntried two computers...22:17
leftyfbkevinnn: dockbarX doesn't look to be a supported application in ubuntu. Have you tried reaching out to the project maintainer?22:17
kevinnnstill just a blinking line22:17
kevinnnleftyfb: no I haven't...22:17
leftyfbkevinnn: We can't provide support for 3rd party applications that aren't available in the ubuntu repositories22:18
leftyfbkevinnn: maybe try reporting an issue here: https://github.com/M7S/dockbarx/issues22:19
oerheksjournalctl | grep dockbarx # something like that?22:19
oerheksif dockbar does not make its own log, you will find notifications there22:19
oerheks.. and is this on Xorg or Wayland22:19
leftyfboerheks: it's just a python applet. Not a service22:19
oerheksoh oke, python2?22:20
leftyfbthe plugin hasn't been updated in 6 years. The main project in 322:22
oerheksi find an unofficial ppa, 22-2-2021 https://launchpad.net/~xuzhen666/+archive/ubuntu/dockbarx22:22
kevinnnAre there any other similar plugins I can install?22:22
leftyfboerheks: https://github.com/M7S/dockbarx and https://github.com/M7S/xfce4-dockbarx-plugin22:23
oerheksand yes, .. https://bugs.launchpad.net/dockbar/+bugs?orderby=-datecreated&start=022:23
kevinnnI've seen this one https://github.com/nsz32/docklike-plugin22:26
kevinnnbut I can't for the life of me get it to build on my system22:26
oerhekstons of options, did you check out #xubuntu?22:26
kevinnnand I am on ubuntu 18.04 so the add-apt command doesn't work22:26
kevinnntons?22:26
kevinnncould I get just one?22:26
leftyfbkevinnn: you mean add-apt-repository?22:27
leftyfbkevinnn: that should 100% work on all supported versions of ubuntu including 18.0422:27
kevinnnleftyfb: yes22:27
kevinnnI ran this: add-apt-repository ppa:xubuntu-dev/extras22:27
leftyfband what error did you get?22:27
kevinnnthen this command: apt install xfce4-docklike-plugin22:27
kevinnnsays it can't find xfce4-docklike-plugin22:28
kevinnnafter apt update22:28
sarnoldthat ppa only has focal, hirsute, impish22:28
kevinnn"E: Unable to locate package xfce4-docklike-plugin"22:28
leftyfbkevinnn: the  ppa:xubuntu-dev/extras repository doesn't have any packages for 18.04/bionic22:28
kevinnnright...22:29
kevinnnhence why I said docklike-plugin wouldn't work22:29
leftyfbkevinnn: that isn't an issue with 18.04. That is an issue with a 3rd party PPA22:29
kevinnnbut if there are tons of alternatives22:29
kevinnnI'd just like one22:29
leftyfbkevinnn: ask in #xubuntu22:29
kevinnngotcha, will ask22:30
lantech19446Can anyone give some insight into why ubuntu's cpu usage might stick around 30-35% when it's housed in a vm?22:45
ravagetop22:47
lantech19446thanks ravage I don't know what all the numbers mean exactly but i can tell that it's two lamp processes hogging the processor22:50
oerheksdepends on your config, how many cores did you point to, and memory.22:51
lantech194462 cores and 10 gigs of memory22:53
lantech19446I actually decreased it because I had it set at 4 cores and for some reason it said it was using way more memory than I had allotted to it. Decreasing the cores actually did see some slight performance improvement as counterintuitive as that is22:55
lantech19446a service called tracker-store seems to be responsible22:57
ravagelantech19446: https://www.linuxuprising.com/2019/07/how-to-completely-disable-tracker.html23:00
oerheksone could disable it, or tune tracker23:02
oerhekshttps://askubuntu.com/a/35345023:02
oerheksthe whole article is interesting23:03
lantech19446yea I just found instructions on askubuntu apparently it's been a problem for a long time. Hopefully removing it from autostart will do the trick. It's actually slowing down my server enough that our page load times are suffering23:04
ravageGnome on a server is a strange choice :)23:06
sarnoldusually servers don't bother with gui things, it might be worth looking at different deployment methods to let you skip the gui entirely and save a bunch of memory / cpu / disk io23:06
oerheksmulti-user.target23:09
lantech19446sarnold: I could do that no problem, the problem is the other guy who modifies our website doesn't know linux well enough to use it without a gui and he's my boss23:09
oerheks*hint*23:09
sarnoldlantech19446: ah.23:10
lantech19446yea I usually just ssh into it to begin with23:10
=== stanglavine is now known as gandalf
lantech19446wow, getting rid of those services knocked my cpu usage down to about 1%23:24
oerheksoh, lets fix that ..23:24
oerhekssarnold ?23:25
leftyfblantech19446: how old is the VM?23:25
lantech19446less than a year23:26
lantech19446thanks for the help guys, this was really bothering me and I finally had a spare minute to look at it23:28
oerhekslantech19446, have fun!23:30
lantech19446I think I'll stick around the channel this time. Last time I was in here someone was kind of a douchebag, don't remember their nick so I didn't stick around but I know sarnold from other channels and you seem pretty knowledgeable maybe i'll learn something23:31
oerheksOur Volunteers are humans too, is my excuse.23:38
=== denningsrogue1 is now known as denningsrogue
sarnoldoerheks: fix what? :) I can't teach *everyone* how to use a CLI from start to finish..23:39
oerhekshe dropped down to 1%23:39
lantech19446I try to remember that as often as possible but it was on a couple different occasions and I don't know if they had an issue with me or it's just who they are but I was done with it. Unfortunately I have found an overwhelming amount of those people in linux channels, it's one of the reasons I stopped using arch because with the exception of 1 or 2 people in the channel most of them were royal23:40
lantech19446dickheads. The guys in rhel on the other hand have been a class act23:40
oerheksweekend support is so much fun.23:41
oerheksreally, monday-friday gave more chance for serious support, but with covid this rule has expired too23:41
lantech19446most of my questions happen on a mon-fri for this channel unless shit hits the fan23:43
Bashing-omoerheks: Times gone past - miss the times when weekends were for installs and setups :D23:43
oerheksyes, and meetings23:43
groovetherapyHey all...is anyone using VirtualBox on kernel 5.13.0?23:45
lantech19446nope, I got away from vbox completely23:45
groovetherapylantech19446: good to know. what did you replace it with?23:46
lantech19446hyper-v and vps's23:46
groovetherapylantech19446: interesting... are you running windows?23:48
oerheksKVM would be my choice23:49
groovetherapyoerheks: also good to know...i keep hearing about KVM, but setting it up seems...non trivial23:50
lantech19446groovetherapy: at work I run server 2019 at home I run rhel23:50
=== WrathOfA1hilles is now known as WrathOfAchilles
groovetherapylantech19446: ah ok. correct me if im wrong, but isn't hyper v a windows native solution? im trying to find a linux native virtualization solution for some dev work. ideally something that pairs well with vagrant or something like it23:51
lantech19446linux will run on hyper-v no problem but yes it's a windoze native solution. For linux you're looking at kvm or qemo if i spelled that right23:52
groovetherapyif KVM has a good CLI for box management, i wouldnt even need vagrant23:52
oerhekskvm and virt manager https://help.ubuntu.com/community/KVM23:57
oerhekshttps://ubuntu.com/blog/kvm-hyphervisor23:57
oerheksthen there is Docker and Kubernetes, lots of fun23:58
groovetherapyoerheks: ah yeah, ive got more experience with docker and kubernetes...23:58
groovetherapyoerheks: I suppose I should look into this. I'm not sure why, but it seems virtualbox is somewhat falling out of favour. I wonder why. Maybe the oracle backing has something to do with it23:59

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