[00:01] <VIA> well setting the base color of my client to a darker one resulted in much darker random bg colors
[00:01] <VIA> *at least
[00:05] <Bashing-om> VIA: Progress made :D
[00:38] <VIA> is it possible to have different fontsizes in diff terminal windws ?
[00:39] <sarnold> it depends upon your terminal
[00:39] <sarnold> sometimes 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 it
[00:40] <Bashing-om> VIA: Arch's guide on Xterm: https://wiki.archlinux.org/title/Xterm .
[02:23] <Gallomimia> good sirs (and possibly ladies) how do i install cuda? its surely simple.
[02:26] <sarnold> Gallomimia: 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 necessary
[02:26] <Gallomimia> that helps thanks
[02:26] <Gallomimia> for reference it's for mining on a desktop
[02:27] <Gallomimia> wow. 5 gb of diskspace to be used
[02:27] <Gallomimia> next 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 twice
[02:28] <sarnold> hah good question
[02:28] <oerheks> do updates first, reboot, new kernel today..
[02:30] <Gallomimia> boot to the new kernel before install?
[02:30] <Gallomimia> am i reading it correctly? new kernel and also update to ubuntu drivers? or new way the existing drivers interact with new kernel
[02:31] <oerheks> you love new drivers
[02:32] <Gallomimia> someone informed me thusly that i won't get new drivers for my 780Ti cuz nvidia stopped supporting
[02:32] <Gallomimia> i say bomb their factory.
[02:33] <Gallomimia> ahhhh well that's a little extreme. maybe we should just make a 3rd GPU manufacturer to compete with them which fully supports FLOSS
[02:34] <Gallomimia> *click*click* REBOOT!
[02:36] <Gallomimia> and if you haven't seen that show, you cannot use a computer again till you do!
[03:00] <portmanteau> I'm on lubuntu, but it won't install hexchat because gnome is missing? is that because lubuntu defaults to a different windows environment?
[03:01] <guiverc> portmanteau, lubuntu will use hexchat; I'm using hexchat right now & I'm on Lubuntu/LXQt
[03:01] <portmanteau> I'm trying to use flatpak
[03:02] <guiverc> hexchat is GTK2 (as old LXDE was), GNOME is GTK3 so a different library/toolkit to what GNOME & LXQt use by default
[03:02] <portmanteau> because i don't know how to compile from source
[03:02] <sarnold> why not just use apt install hexchat?
[03:02] <guiverc> why not `apt install hexchat`
[03:02] <portmanteau> k
[03:03] <oerheks> so flatpak wants gnome?
[03:03] <oerheks> lolz
[03:03] <oerheks> apt-cache depends hexchat # shows no gnome parts
[03:03] <Bashing-om> portmanteau: Looking at ' apt depends hexchat ' I do not see a dependency on Gnome.
[03:04] <portmanteau> I'm a Windows user so my instinct was to go to the software's site for download, not go to a singular source
[03:04] <sarnold> hmm are you sure? I see a bunch of gnome packages in mine, this is on focal https://termbin.com/jj1v2
[03:05] <portmanteau> discover had a problem
[03:05] <kirk781> Gnome Software by default tries to load packages via Flatpak; atleast on latest Gnome versions
[03:06] <kirk781> I remember installing Gnome extensions as the first 'app
[03:06] <guiverc> what 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] <kirk781> showed a download size of one plus gig via the software store
[03:07] <portmanteau> "The application io.github.Hexchat/x86_64/stable requires the runtime org.gnome.Platform /x86_64/41 which was not found"
[03:07] <oerheks> kirk781, not on ubuntu, hopefully
[03:09] <kirk781> oerheks, 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 shipping
[03:12] <kirk781> The Hexchat installer on site by default links to the Flatpak version
[03:12] <kirk781> And 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 else
[03:13] <oerheks> we do not suggest go to their site, use apt
[03:14] <oerheks> this whole flatpak thingy is not happening on ubuntu, we do snaps
[03:15] <kirk781> In 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 :p
[03:17] <oerheks> still waiting for a Central list of Flatpak repos
[03:25] <guiverc> portmanteau, i loaded discover & the only 'hexchat' i found on search is deb based (plus numerous plugins); lubuntu jammy for me
[03:48] <portmanteau> ty guiverc
[03:54] <Enigma> That worked
[03:55] <Enigma> logging out and back in did the trick.
[05:14] <cpif> ok: 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." was
[05:14] <cpif> "test" an important testing utility which apt runs at the end of a package install, and which i deleted??
[05:16] <guiverc> cpif, 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:17] <cpif> thanks guiverc, i have certainly learned from this rudimentary experience that it is foolish to do otherwise than you are suggesting!
[05:18] <cpif> but i am concerned that i have fucked the normal functioning of "apt"
[05:39] <Guest68> what is a .typelib file?
[06:02] <deksar> How to install PHP 8.0 through official packages in Ubuntu? (No external repository) 20.04 LTS
[06:59] <rfm> deksar, suspect you can't. either you can live with the slow LTS, or you can live on the bleeding edge, but not both...
[07:02] <punkgeek2> I 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/
[10:46] <StyXman> I 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?
[11:20] <Alex86ns> I have problem with Ubuntu which is in read-only mode
[11:21] <StyXman> Alex86ns: I guess oyu mean your filesystem is in read only mode
[11:21] <Alex86ns> https://pastebin.com/vGu2gDY8
[11:21] <Alex86ns> yes
[11:21] <Alex86ns> please check link that i added
[11:22] <StyXman> this one?
[11:22] <StyXman> /dev/mapper/ubuntu--vg-lv--1 on / type ext4 (ro,relatime)
[11:23] <Alex86ns> should be rew
[11:23] <Alex86ns> rw?
[11:23] <Alex86ns> how to fix it?
[11:23] <StyXman> check dmesg's output, it's probably complaining about a fs error
[11:23] <StyXman> either that or you're in a weird stage at boot
[11:24] <cbreak> StyXman: 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:25] <cbreak> StyXman: the bug thread writes "Docker supports cgroups v2 starting with version 20.10: https://www.docker.com/blog/introducing-docker-engine-20-10/"
[11:26] <Alex86ns> https://pastebin.com/Ni1Q69UA dmesg log
[11:26] <Alex86ns> it is virtual machine VMware
[11:27] <StyXman> cbreak: tx
[11:27] <StyXman> [ 9463.805579] EXT4-fs (dm-1): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[11:27] <StyXman> Alex86ns: definitely a fs error
[11:28] <StyXman> I _think_ you can run: fsck /
[11:28] <cbreak> have you tried rebooting Alex86ns? maybe it'll ask for fscking on its own
[11:29] <Alex86ns> yes, I tried many time
[11:29] <Alex86ns> I start fsck
[11:31] <Alex86ns> seems it fixed the problem
[11:31] <Alex86ns> I also have the same issue on another Ubuntu servers
[11:31] <Alex86ns> What could be reason for this issue?
[11:33] <StyXman> that I don't know
[11:34] <StyXman> it owuld be weird if this was a software instead of hardware issue
[11:34] <StyXman> where HW in you case is whatever VMWare does underneath
[11:35] <StyXman> weird but not impossible, tho
[11:35] <Alex86ns> I will check does severs are located on the same disk on VMware
[11:36] <Alex86ns> But I have also centos server only Ubuntu has this issue
[11:40] <StyXman> maybe they're all on the same faulty disk, or maybe the disk image you run from has the issue
[11:40] <StyXman> (assuming they all share the same base disk image)
[11:41] <StyXman> but now I'm thinking un docker/container terms, so maybe it doesn't apply
[11:47] <Alex86ns> I checked, definitely disk is not problem because I have the same issue on two different VMware servers
[11:47] <Alex86ns> which not using same disk
[11:48] <Alex86ns> what is the best way to track this error?
[11:48] <StyXman> define track, I think we have a "lost in translation" problem
[11:48] <StyXman> I'm not native English speaker
[11:57] <Alex86ns> monitor
[11:57] <Alex86ns> which log I should check?
[11:58] <StyXman> dmesg
[11:58] <StyXman> but it's going to be hard to come up with a filter that covers all cases
[11:59] <StyXman> in this case it was an orphan inode list
[11: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 boot
[12:00] <Alex86ns> StyXman thank you!
[12:00] <Alex86ns> :)
[12:00] <StyXman> the rest are just fsck'ed before mounting rw
[12:01] <StyXman> no remounts involved
[12:16] <Walex> StyXman: mysterious errors like that could be due to lack of proper 'fsync'...
[12:53] <Kolusion> So 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 I
[12:53] <Kolusion> commented it out and restarted the service. Dovecot is still listening on port 993. https://i.ibb.co/D9PsztB/Untitled.png
[12:54] <Kolusion> Any suggestions?
[13:03] <Gallomimia> heh. weren't you saying yesterday that canonical had their "stuff" together?
[13:04] <Gallomimia> what happens if you stop the service completely?
[13:05] <Kolusion> Gallomimia: Yes, but I also said too a degree. This is not one of them and there is many more!
[13:06] <Kolusion> I 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:07] <Kolusion> Also, 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] <Kolusion> https://doc.dovecot.org/configuration_manual/service_configuration/
[13:07] <Kolusion> The first sentence says "The important service settings are described in the example-config/conf.d/10-master.conf file."
[13:08] <Kolusion> Which is not an absolute file path, and I have no idea where it is.
[13:08] <Kolusion> A joke
[13:08] <Kolusion> Serious
[13:09] <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] <Kolusion> This is all meaningless to me
[13:09] <Kolusion> I just want to know which file I have to edit to turn off port 993.
[13:10] <Kolusion> Why does this have to be so ridiculsly hard
[13:10] <TJ-> Kolusion: for any package you can find where a file is installed using "dpkg -L <package> | grep <searchterm>"
[13:10] <Kolusion> TJ- I will forget that
[13:10] <Kolusion> Thanks but
[13:14] <Kolusion> So 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] <Kolusion> https://doc.dovecot.org/configuration_manual/service_configuration/#port
[13:15] <Kolusion> That's all I want to know, I have been trying for 1 hour
[13:16] <Kolusion> This isn't normal
[13:16] <Kolusion> And def not elite
[13:16] <Kolusion> Just crap engineering
[13:16] <ravage> https://p.haxxors.com/0e9uee2i.txt
[13:17] <ravage> works perfectly fine in my dovecot.conf
[13:17] <Kolusion> Let me see mate
[13:17] <Kolusion> I was editing that file and that part, but in another path.
[13:17] <Kolusion> https://i.ibb.co/D9PsztB/Untitled.png
[13:17] <ravage> the conf.d files are not read here
[13:18] <Kolusion> What is it's purpose?
[13:18] <ravage> dont know
[13:18] <Kolusion> Fair mate
[13:18] <ravage> i assumed it was because i made changes to my config
[13:18] <Kolusion> I will edit that file you showed me now
[13:19] <ravage> i think the original config has "!include conf.d/*.conf"
[13:20] <Kolusion> I checked that file before at '/etc/dovecot/dovecot.conf'. My file does not contain that part you showed me.
[13:22] <Kolusion> That 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:23] <Kolusion> I think the other services like POP3 aren't running despite not being commented out because I don't have their modules installed.
[13:26] <Kolusion> I bet you this is a total POS
[13:27] <Kolusion> I 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] <Gallomimia> i 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 superfluous
[13:28] <ravage> yes if you enable a protocol like imap it will create the default listeners unless you define them otherwise
[13:33] <Kolusion> My 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] <Kolusion> So Canonical has broken it.
[13:34] <Kolusion> The Dovecot version shows it is a Canonical version, not Debian.
[13:34] <Kolusion> Just like they have broken Apache HTTP Server, and countless other apps.
[13:34] <Kolusion> What ever
[13:34] <Kolusion> Thanks guys
[13:34] <Gallomimia> file a bug report sir
[13:35] <Kolusion> It's not a bug, it's stupid design.
[13:35] <Gallomimia> same shit.
[13:35] <Kolusion> HAHA
[13:35] <Gallomimia> my point is there's zero chance of it being fixed before you file an issue
[13:35] <Gallomimia> and after, well. maybe 2% ? but not zero
[13:36] <Kolusion> The 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] <Gallomimia> i do agree GPL has become a problem
[13:36] <Gallomimia> which is a shame because stallman was such a force for free-ness
[13:37] <Kolusion> Meanwhile, 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] <Kolusion> Stallman is alright, I like him.
[13:37] <Gallomimia> fighting amongst themselves to
[13:38] <Kolusion> Yeah, don't get involved mate.
[13:38] <Kolusion> :)
[13:38] <Gallomimia> and just be amish? never use a computer again?
[13:38] <Gallomimia> nah. pretty sure i'll be getting into it up to my elbows. if not my shoulders
[13:38] <Kolusion> I usually don't tell people I use Linux in reality, to avoid philosophical arguments from the evangelists.
[13:38] <leftyfb> lets take the non-support discussions to #ubuntu-offtopic please
[13:39] <Gallomimia> yes and what other side channels are there leftyfb ?
[13:39] <leftyfb> !alis | Gallomimia
[13:39] <Kolusion> I have to go now, I just needed to get that port problem fixed. Thanks guys
[13:44] <BluesKaj> 'morning all
[14:00] <manwhowouldbekin> Greetings all! Can I get some help on installing a freshly built package?
[14:03] <lotuspsychje> manwhowouldbekin: wich package would that be?
[14:03] <manwhowouldbekin> When 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/j05nGmip
[14:04] <lotuspsychje> manwhowouldbekin: we rather focus on ubuntu related issues here, strongly advice to install packages from our repos/snaps instead of own compiles
[14:05] <manwhowouldbekin> This is an Ubuntu related issue, right? I am trying to figure out how to uninstall something?
[14:06] <manwhowouldbekin> Speaking of which, how does one find out the latest available Emacs in Ubuntu repos?
[14:08] <tarzeau> apt-cache policy emacs ? (if that's the pkg name)
[14:08] <tarzeau> or packages.ubuntu.com/emacs
[14:15] <manwhowouldbekin> Basically, I am building the latest from source because it has some features, which the latest in repo does not have.
[14:16] <lotuspsychje> manwhowouldbekin: the emacs snap is 27
[14:17] <manwhowouldbekin> lotuspsychje: I need 28. That is the latest at the source.
[14:30] <Gallomimia> manwhowouldbekin, so, does apt uninstall emacs do what you need?
[14:31] <Gallomimia> from there build your version. with help from emacs support
[14:33] <manwhowouldbekin> Gallomimia: 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] <Gallomimia> yeah, obviously
[14:33] <Gallomimia> ever tried putting two engines in a car? how's that work?
[14:34] <leftyfb> manwhowouldbekin: if you removed the apt version of emacs, it is not conflicting
[14:34] <manwhowouldbekin> Gallomimia: I had a setup previously with three different Emacs version. I was using one at a time, though.
[14:35] <Gallomimia> i'm under the impression that a snap would not conflict
[14:35] <Gallomimia> also, if your installations are contained within separate directories that would work fine. i'm assuming the default package doesn't do this
[14:36] <manwhowouldbekin> Gallomimia: Would you say I need to re-run the entire config and make or just do the sudo checkinstall step?
[14:36] <Gallomimia> i would not say either, as i don't know
[14:37] <Gallomimia> but it is my experience that a config file for an old version usually mucks around a new version that has new features
[14:37] <Gallomimia> on other products. never used emacs
[14:38] <Gallomimia> the last time i even seen emacs used was on solaris in 2002
[14:43] <Dr-007> question, 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 did
[14:43] <Dr-007> `ln -s /media/sda1 /media/downloads_disk'
[14:44] <Dr-007> it created a symlink but its red
[14:45] <Dr-007> can i mount my internal hard drives in both folders? in /mnt and /media
[14:45] <Dr-007> or is there a way to make the symlinks work
[14:47] <Dr-007> also 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:50] <Alex86ns> I have the problem with mapping share drive
[14:50] <Alex86ns> mount -t cifs //10.21.2.85/Appllication/test -o user=mapdrive /mnt/share
[14:50] <Alex86ns> same command working well on Centos 8
[14:50] <Dr-007> what is your error
[14:50] <Alex86ns> mount error(2): No such file or directory
[14:50] <Alex86ns> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg)
[14:51] <Alex86ns> I tried everything :(
[14:51] <Dr-007> is the word Appllication written rightfully?
[14:51] <Dr-007> does it exist? same goes for /mnt/share
[14:51] <Thaurwylth> Is 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] <Alex86ns> VFS: cifs_mount failed w/return code = -2
[14:52] <Alex86ns> Dr-007, yes, I create dir /mnt/share
[14:52] <leftyfb> Alex86ns: are you using sudo for the mount command?
[14:53] <Dr-007> the word application seems written wrong. double l
[14:53] <frodo> Thaurwylth: the default gnome image viewer has that feature
[14:53] <leftyfb> that too
[14:53] <Alex86ns> yes, I am using sudo
[14:54] <Alex86ns> dr-007, path is OK
[14:54] <Alex86ns> because I used same on Centos
[14:54] <leftyfb> Alex86ns: is the CIFS share purposely mispelled?
[14:54] <Alex86ns> and it works well
[14:55] <Alex86ns> leftyfb: yes
[14:55] <Alex86ns> it is just example, problem is not in path of share
[14:56] <Alex86ns> because I using it on Centos and it works well
[14:56] <Dr-007> wierd. 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 now
[14:56] <Alex86ns> I tried also vers=1.0
[14:56] <Alex86ns> and
[14:56] <Alex86ns> same problem
[14:58] <Thaurwylth> Let'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:59] <frodo> you don't have to install all of gnome, just install 'eog' for the image viewer
[15:01] <frodo> Thaurwylth: I think xfimage has that feature too, and it's not part of gnome, but it's interface is... dated.
[15:02] <Thaurwylth> Let's see...
[15:05] <bailsman> Is there any way to encrypt an unencrypt ubuntu vm with luks while it is running - with no or limited downtime?
[15:05] <Thaurwylth> Additional 130 MB will be used, tee hee hee hee. But I sure want those browsing buttons.
[15:05] <bailsman> I imagine yes for data volumes, unlikely for root volume - is that correct?
[15:07] <Alex86ns> sudo apt-get install keyutils solved my problem
[15:07] <frodo> bailsman: I'm pretty sure you can't LUKS encrypt anything while it's mounted
[15:09] <bailsman> frodo: It seems theoretically possible with just a quick remount to go through some kind of "translation layer" that just transparently encrypts blocks as it goes
[15:09] <bailsman> I'm OK with just a reboot
[15:09] <bailsman> but I'm not sure if that's practically possible too
[15:10] <leftyfb> bailsman: that technology does not exist in ubuntu today
[16:01] <imi> hi, I have 3+ microphones in my computer, and I have a problem with discord
[16:02] <imi> is there a way to make sure only one specific microphone is used?
[16:07] <Dr-007> so 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:10] <Dr-007> imi, there are files you can edit so only one mic is recognized/used
[16:11] <imi> good which files?
[16:11] <Dr-007> i once did the same for output audio devices. it defaulted to 1 thing while i wanted it to use another
[16:11] <Dr-007> i dont remember :P
[16:11] <Dr-007> let me google real quick see if i can find it
[16:12] <Dr-007> oh yeah, for me it was related to pulseaudio
[16:13] <Dr-007> you could create a config for the user that logs in in the home directory ~/
[16:13] <Dr-007> but i dont know if this applies to you
[16:38] <VIA> elo back at zero
[16:39] <VIA> how do i find out which termianl im using?
[16:42] <Dr-007> VIA, top or ps -ax gives you a list of all running programs
[16:42] <VIA> top
[16:43] <VIA> i thought my question was more on the specific side
[16:46] <Dr-007> you want to find out what terminal you are using
[16:48] <VIA> correct! are we doing riddles now?
[16:48] <mordant> can 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 purpose
[16:49] <mordant> trying to do a chroot
[17:05] <Dr-007> VIA, with ps -ax or top you can find the terminal youre using
[17:08] <VIA> there is not any specific command that would simply answer this question to s monkey like myself?
[17:13] <Dr-007> i dont get why you dont know what terminal youre using in the first place..
[17:13] <Dr-007> terminal means the graphical interface in ubuntu
[17:13] <Dr-007> so you could just look at the title
[17:14] <oerheks> echo $0 # would show bash/ksh/csh
[17:21] <VIA> Dr-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] <VIA> s*
[17:22] <oerheks> via stop the silly rant, and loot at the answer i gave
[17:23] <VIA> btw, 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:24] <VIA> I'm eager to learn
[17:25] <Dr-007> so, is oerheks the answer youre looking for?
[17:27] <VIA> y oerheks, have you given me the 'correct' (or best) anwer before ?
[17:27] <VIA> fogive me in that case, im terrible with names
[17:27] <VIA> and i dont think buffer is long enough
[17:30] <frodo> VIA: if you're using stock ubuntu, it's probably gnome-terminal. If your terminal has a menu bar, you could try help->about
[17:33] <Astreae> Does 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] <Astreae> I have double-checked that the daemon is installed of course.
[17:36] <frodo> Astreae: I have never used it, but the binary should live in /usr/lib/gnupg/scdaemon, which is probably not in your path
[17:36] <Astreae> I've not needed to manually add a binary before, what's the command to append it?
[17:38] <frodo> PATH=$PATH:<extra stuff>, but I would probably just use the full path to run it instead of addiong that to my path
[17:38] <frodo> you can just run "/usr/lib/gnupg/scdaemon" instead of "scdaemon"
[17:40] <Astreae> That got the daemon running, now to find out why it isn't starting automatically.
[17:41] <frodo> I 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] <Astreae> It's supposed to, but the agent isn't calling it on its own.
[17:42] <oerheks> found this, a clue; https://www.fsij.org/doc-gnuk/stop-scdaemon.html
[17:42] <Astreae> oerheks "component not found"
[17:43] <frodo> Astreae: might want to look into pcscd. I'm looking at this: https://gist.github.com/artizirk/d09ce3570021b0f65469cb450bee5e29
[17:44] <Astreae> I 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:45] <Astreae> And when I manually started the scdaemon it tells me that it can't find an openpgp card.
[17:45] <frodo> did you restart gpg-agent before trying to do what oerheks suggested?
[17:45] <Astreae> I did.
[17:47] <Astreae> In a random bid to see if it would work, I re-inserted the smart card...
[17:47] <Astreae> And it now works.
[17:48] <frodo> lol, well that's good
[17:48] <Astreae> I think the gpg-agent doesn't automatically detect the card if it's left in from login.
[17:48] <Astreae> So I'll have to re-insert it.
[17:49] <Astreae> Now to see if it'll repeat that behaviour after reboot.
[17:51] <Astreae> I can confirm that's the case.
[17:51] <Astreae> I have spent the past 4 hours working on this, and it's as simple and pull it out and plug it back in.
[17:52] <Dr-007> Astreae, you reminded me that i bought a smart card reader years ago. just plugged it. fun times
[17:53] <Astreae> Dr-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:56] <Dr-007> i 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 reader
[17:57] <Astreae> One 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] <Astreae> And then I'll be debugging it for the next century until I return to a normal lock.
[17:59] <mike_> hi
[18:02] <Dr-007> Astreae, yeeeeey: https://paste.ubuntu.com/p/bs3m6THbJw/
[18:03] <Astreae> Nice
[18:04] <Dr-007> boooo: Failed to connect to reader: Card not present
[18:04] <Astreae> Awwwww
[18:14] <cbreak> I use yubikeys.
[18:14] <cbreak> essentially a smart card and a card reader in one :)
[18:15] <cbreak> works well for GPG / SSH on MacOS and Linux
[18:15] <Astreae> When they work at least 😩
[18:16] <Astreae> Well, technically it's a failure of the software. But I still spent far too long trying to make it work!
[18:20] <Dr-007> where did you buy your smart cards? amazon or something? i thought theyd be cheaper
[18:21] <tomreyn> please remember to move non ubuntu support chat to #ubuntu-offtopic
[18:23] <Astreae> Dr-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:24] <Dr-007> ok
[18:25] <saltyboimagnus> Hello 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.04
[18:25] <saltyboimagnus> I am able to access the terminal, and installed the latest nvidia drivers, and rebooted, but that didn't help
[18:26] <saltyboimagnus> What can I do to get my desktop to start up?
[18:26] <lotuspsychje> !nomodeset | saltyboimagnus try this
[18:28] <saltyboimagnus> AHH I got it working! I had to uninstall the old AMD drivers
[18:30] <dudenamedbeb> evening all
[18:33] <dudenamedbeb> win 2
[18:43] <arkanoid> what's the correct way to add an iptables rule at boot in ubuntu?
[18:43] <arkanoid> no ufw involved here
[18:47] <Astreae> A script put into .bashrc or a systemd service.
[18:48] <tomreyn> one approach is to add it live, and use iptables-save / -restore to have it put in place again later.
[18:49] <leftyfb> I put a script in /etc/networkd-dispatcher/routable.d/ that calls iptables-restore as needed
[18:50] <tomreyn> see also the iptables-persistent package
[18:51] <arkanoid> thanks
[18:51] <Astreae> Amusing how 3 different people had 3 different solutions.
[18:51] <tomreyn> here's yet another, this time for network manager https://help.ubuntu.com/community/IptablesHowTo#Solution_.233_iptables-persistent
[18:51] <leftyfb> in linux there's usually multiple solutions to a problem
[18:51] <Astreae> Definitely, and that's a good thing. Still amusing though.
[18:52] <tomreyn> oops, wrong anchor, try this https://help.ubuntu.com/community/IptablesHowTo#Configuration_on_Startup_for_NetworkManager
[18:55] <Astreae> Doesn't ubuntu use netplan instead of network manager for most things now though?
[18:56] <leftyfb> Astreae: the desktop uses NM with netplan/networkd as the backend that shouldn't be touched. Server uses netplan/networkd
[18:56] <leftyfb> I do not recommend NM be used for setting up iptables
[18:57] <Astreae> That 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.
[19:12] <lidless> Hello :) 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 me
[19:15] <tomreyn> lidless: is it fresh hardware?
[19:20] <lidless> No, I've had previous versions of ubuntu on here working without the lag
[19:20] <lidless> granted I haven't kept an xorg.conf like I should've, so this may be different
[19:23] <tomreyn> that shouldn't be needed for the intel, but nvidia tools should be creating one.
[19:23] <tomreyn> which kernel are you running?
[19:39] <lidless> Eek, 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:45] <octav1a> I'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:54] <GrayGhost> I 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 working
[19:55] <GrayGhost> if I boot a usb stick or windows it works fine ... how do I recover the driver
[19:55] <GrayGhost> I have tried reinstalling it ... same problem
[19:56] <GrayGhost> I don't want to reinstall the OS
[19:58] <GrayGhost> I am running 21.10 gnome
[19:59] <GrayGhost> do I have to reinstall the kernel ?
[20:07] <GrayGhost> if I boot the older kernel the graphics is back to normal
[20:08] <GrayGhost> how do I reinstall the latest kernel ?
[20:08] <sarnold> apt install --reinstall
[20:08] <sarnold> check with debsums to see if there's anything actually broken
[20:10] <GrayGhost> results of --reinstall :  0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.
[20:13] <sarnold> GrayGhost: you've got to tell apt which packages you want to reinstall, too
[20:18] <GrayGhost> I am not smart enought to know how to do that :(
[20:19] <sarnold> GrayGhost: then perhaps debsums -c is a good starting point
[20:19] <Astreae> Run `apt list | grep nvidia` and tell us the output.
[20:23] <GrayGhost> WARNING: apt does not have a stable CLI interface. and then about 20 pages of drivers
[20:23] <Astreae> Whoops, forgot a flag.
[20:24] <Astreae> Run `apt list --installed | grep nvidia'
[20:25] <GrayGhost> Astreae, now only two pages of nvidia drivers
[20:26] <GrayGhost> but I am now running the kernel that works fine with the nvidia
[20:26] <Astreae> What version is the drivers?
[20:26] <Astreae> And what kernal for that matter.
[20:27] <GrayGhost> nvidia-470/impish,now 470.74-0ubuntu1
[20:28] <coz_> have no intension of learning java so, dreams dashed
[20:28] <Astreae> Well, your driver is the latest. I'd probably have to say your kernal is borked.
[20:28] <coz_> oops wrong channel
[20:28] <Astreae> Since you have it running fine in an older version, I'd say you should probably reinstall that kernal.
[20:28] <GrayGhost> now runing  5.13.0.20 works fine .... I think .21 is the problem
[20:29] <GrayGhost> what would be the syntax for reinstalling 5.13.0.21
[20:31] <GrayGhost> got it   reinstalling now
[20:31] <Astreae> Don't forget to rebuild Grub.
[20:32] <Astreae> If this doesn't work, I'd say pull out a live cd and try a repair.
[20:36] <GrayGhost> Astreae, no joy :(
[20:37] <Astreae> Do you get a kernal panic or just a black screen?
[20:40] <GrayGhost> 5.13.0.20 works fine  5.13.0.21 does not have nvidia support
[20:45] <GrayGhost> I do not understand how a power faliure could dammage the kernel, unless it was writing to the disk at that exact time
[20:47] <Astreae> It very well could be.
[20:49] <leftyfb> GrayGhost: 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:50] <sarnold> what's dkms for? I thought we had binary packages for nvidia?
[20:50] <leftyfb> depends on how they installed the drivers for it
[20:50] <GrayGhost> I did a reinstall of the nvidia drive ... no help
[20:51] <genii> Other things also use DKMS
[20:51] <sarnold> sure, I've got some debugging builds of zfs installed through dkms
[20:51] <sarnold> and when something busted in the kernel apis, it felt like we suddenly found a dozen different packages all doing dkms things
[20:51] <sarnold> but for nvidia specifically we've got binary packages, so I'm surprised to hear dkms raised in this context :)
[20:52] <leftyfb> GrayGhost: apt list --installed |grep $(uname -r) | nc termbin.com 9999
[20:53] <leftyfb> GrayGhost: how did you install the nvidia drivers?
[20:53] <leftyfb> sarnold: 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 kernel
[20:54] <Astreae> The nvidia drivers use DKMS for their kernel modules.
[20:54] <sarnold> leftyfb: oh that makes sense. kind of. I don't know why you'd do that :)
[20:55] <GrayGhost> sudo apt install nvidia-driver-455
[20:55] <leftyfb> GrayGhost: and the output of the command I posted?
[20:57] <GrayGhost> https://termbin.com/ofa1
[20:57] <GrayGhost> that is from .20
[20:57] <GrayGhost> not .21
[20:58] <leftyfb> GrayGhost: apt list --installed |grep 5.13.0-21 | nc termbin.com 9999
[20:59] <GrayGhost> https://termbin.com/gm1y
[21:09] <GrayGhost> booted back in to -21   no nvidia :(
[21:18] <GrayGhost> I reinstalled nvidia 470 and that rebuilt everything and is working again :)
[21:19] <GrayGhost> thanks for the help .. all
[21:21] <coconut> lucky you
[21:23] <GrayGhost> each time something brakes and you fix it , you learn a little more
[21:36] <sarnold> GrayGhost: woot!
[21:47] <GrayGhost> sar
[21:48] <GrayGhost> sarnold, woot  means good ?
[21:52] <sarnold> GrayGhost: yeah :)
[22:14] <kevinnn> Hi all, where are the logs for dockbarX located?
[22:15] <sarnold> if it's running, try lsof and see if it has log files open at the moment
[22:16] <kevinnn> nope it doesn't
[22:17] <kevinnn> honestly I am running into a really annoying issue with the xfce4 plugin for DockBarX. It just shows up on my screen as a blinking line
[22:17] <kevinnn> https://imgur.com/a/2OYmFfj
[22:17] <sarnold> if it's an X11 program it might log stuff to standard output and standard error, that's often stored into ~/.xsession-errors
[22:17] <kevinnn> rebooted..
[22:17] <kevinnn> reinstalled...
[22:17] <kevinnn> tried two computers...
[22:17] <leftyfb> kevinnn: dockbarX doesn't look to be a supported application in ubuntu. Have you tried reaching out to the project maintainer?
[22:17] <kevinnn> still just a blinking line
[22:17] <kevinnn> leftyfb: no I haven't...
[22:18] <leftyfb> kevinnn: We can't provide support for 3rd party applications that aren't available in the ubuntu repositories
[22:19] <leftyfb> kevinnn: maybe try reporting an issue here: https://github.com/M7S/dockbarx/issues
[22:19] <oerheks> journalctl | grep dockbarx # something like that?
[22:19] <oerheks> if dockbar does not make its own log, you will find notifications there
[22:19] <oerheks> .. and is this on Xorg or Wayland
[22:19] <leftyfb> oerheks: it's just a python applet. Not a service
[22:20] <oerheks> oh oke, python2?
[22:22] <leftyfb> the plugin hasn't been updated in 6 years. The main project in 3
[22:22] <oerheks> i find an unofficial ppa, 22-2-2021 https://launchpad.net/~xuzhen666/+archive/ubuntu/dockbarx
[22:22] <kevinnn> Are there any other similar plugins I can install?
[22:23] <leftyfb> oerheks: https://github.com/M7S/dockbarx and https://github.com/M7S/xfce4-dockbarx-plugin
[22:23] <oerheks> and yes, .. https://bugs.launchpad.net/dockbar/+bugs?orderby=-datecreated&start=0
[22:26] <kevinnn> I've seen this one https://github.com/nsz32/docklike-plugin
[22:26] <kevinnn> but I can't for the life of me get it to build on my system
[22:26] <oerheks> tons of options, did you check out #xubuntu?
[22:26] <kevinnn> and I am on ubuntu 18.04 so the add-apt command doesn't work
[22:26] <kevinnn> tons?
[22:26] <kevinnn> could I get just one?
[22:27] <leftyfb> kevinnn: you mean add-apt-repository?
[22:27] <leftyfb> kevinnn: that should 100% work on all supported versions of ubuntu including 18.04
[22:27] <kevinnn> leftyfb: yes
[22:27] <kevinnn> I ran this: add-apt-repository ppa:xubuntu-dev/extras
[22:27] <leftyfb> and what error did you get?
[22:27] <kevinnn> then this command: apt install xfce4-docklike-plugin
[22:28] <kevinnn> says it can't find xfce4-docklike-plugin
[22:28] <kevinnn> after apt update
[22:28] <sarnold> that ppa only has focal, hirsute, impish
[22:28] <kevinnn> "E: Unable to locate package xfce4-docklike-plugin"
[22:28] <leftyfb> kevinnn: the  ppa:xubuntu-dev/extras repository doesn't have any packages for 18.04/bionic
[22:29] <kevinnn> right...
[22:29] <kevinnn> hence why I said docklike-plugin wouldn't work
[22:29] <leftyfb> kevinnn: that isn't an issue with 18.04. That is an issue with a 3rd party PPA
[22:29] <kevinnn> but if there are tons of alternatives
[22:29] <kevinnn> I'd just like one
[22:29] <leftyfb> kevinnn: ask in #xubuntu
[22:30] <kevinnn> gotcha, will ask
[22:45] <lantech19446> Can anyone give some insight into why ubuntu's cpu usage might stick around 30-35% when it's housed in a vm?
[22:47] <ravage> top
[22:50] <lantech19446> thanks ravage I don't know what all the numbers mean exactly but i can tell that it's two lamp processes hogging the processor
[22:51] <oerheks> depends on your config, how many cores did you point to, and memory.
[22:53] <lantech19446> 2 cores and 10 gigs of memory
[22:55] <lantech19446> I 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 is
[22:57] <lantech19446> a service called tracker-store seems to be responsible
[23:00] <ravage> lantech19446: https://www.linuxuprising.com/2019/07/how-to-completely-disable-tracker.html
[23:02] <oerheks> one could disable it, or tune tracker
[23:02] <oerheks> https://askubuntu.com/a/353450
[23:03] <oerheks> the whole article is interesting
[23:04] <lantech19446> yea 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 suffering
[23:06] <ravage> Gnome on a server is a strange choice :)
[23:06] <sarnold> usually 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 io
[23:09] <oerheks> multi-user.target
[23:09] <lantech19446> sarnold: 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 boss
[23:09] <oerheks> *hint*
[23:10] <sarnold> lantech19446: ah.
[23:10] <lantech19446> yea I usually just ssh into it to begin with
[23:24] <lantech19446> wow, getting rid of those services knocked my cpu usage down to about 1%
[23:24] <oerheks> oh, lets fix that ..
[23:25] <oerheks> sarnold ?
[23:25] <leftyfb> lantech19446: how old is the VM?
[23:26] <lantech19446> less than a year
[23:28] <lantech19446> thanks for the help guys, this was really bothering me and I finally had a spare minute to look at it
[23:30] <oerheks> lantech19446, have fun!
[23:31] <lantech19446> I 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 something
[23:38] <oerheks> Our Volunteers are humans too, is my excuse.
[23:39] <sarnold> oerheks: fix what? :) I can't teach *everyone* how to use a CLI from start to finish..
[23:39] <oerheks> he dropped down to 1%
[23:40] <lantech19446> I 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 royal
[23:40] <lantech19446> dickheads. The guys in rhel on the other hand have been a class act
[23:41] <oerheks> weekend support is so much fun.
[23:41] <oerheks> really, monday-friday gave more chance for serious support, but with covid this rule has expired too
[23:43] <lantech19446> most of my questions happen on a mon-fri for this channel unless shit hits the fan
[23:43] <Bashing-om> oerheks: Times gone past - miss the times when weekends were for installs and setups :D
[23:43] <oerheks> yes, and meetings
[23:45] <groovetherapy> Hey all...is anyone using VirtualBox on kernel 5.13.0?
[23:45] <lantech19446> nope, I got away from vbox completely
[23:46] <groovetherapy> lantech19446: good to know. what did you replace it with?
[23:46] <lantech19446> hyper-v and vps's
[23:48] <groovetherapy> lantech19446: interesting... are you running windows?
[23:49] <oerheks> KVM would be my choice
[23:50] <groovetherapy> oerheks: also good to know...i keep hearing about KVM, but setting it up seems...non trivial
[23:50] <lantech19446> groovetherapy: at work I run server 2019 at home I run rhel
[23:51] <groovetherapy> lantech19446: 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 it
[23:52] <lantech19446> linux 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 right
[23:52] <groovetherapy> if KVM has a good CLI for box management, i wouldnt even need vagrant
[23:57] <oerheks> kvm and virt manager https://help.ubuntu.com/community/KVM
[23:57] <oerheks> https://ubuntu.com/blog/kvm-hyphervisor
[23:58] <oerheks> then there is Docker and Kubernetes, lots of fun
[23:58] <groovetherapy> oerheks: ah yeah, ive got more experience with docker and kubernetes...
[23:59] <groovetherapy> oerheks: 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 it