[00:20] <mmx_in_orbit> how about if i do have a graphics card but it's only OpenGL 3.3 capable?
[01:02] <coraxx> hello there ...here is a question ... how do I create/customize MIME types in Ubuntu ? (10 years ago there was a GUI application called 'assogiate' ..is it still there or maybe an alternative ?
[01:37] <scottg489> Looking to create a bootable USB installer. I see the guide recommends something called "startup disk creator". Could someone recommend an alternative CLI tool?
[01:42] <sarnold> scottg489: dd is popular
[01:45] <scottg489> sarnold: Can you just straight up dd the iso to the usb device?
[01:46] <scottg489> For some reason I thought there was more that needed to be done
[01:46] <sarnold> scottg489: yeah, you can, that's the only thing I've ever done
[01:46] <scottg489> Don't you need to like make it bootable or something too?
[01:47] <genii> The image needs to be a hybrid image, capable of being either burned to an optical disc, or dd'd to an USB stick, etc
[01:48] <scottg489> genii: Will the ISO I download from ubuntu's website be a hybrid image?
[01:48] <genii> Yes, it will
[01:49] <scottg489> Ok thanks
[01:50] <scottg489> Guess I'm also confused as to why there are answers like this when literally all you need is dd: https://askubuntu.com/a/392036/1126179
[01:50] <sarnold> me too; I thought I did USB sticks for ubuntu well 2013 even..
[01:50] <scottg489> Or just in general there are guides with all these fancy tools when it's literally just dd
[01:51] <genii> Before hybrid images were introduced, there were other methods of various complexity
[01:51] <sarnold> s/well 2013/well before 2013/
[01:51] <scottg489> Ah ok
[01:51] <genii> sarnold: I think somerhere along about Precise they started coming in
[01:52] <Radiohead> Where might I find the public keys for debian? Im trying to add the debian apt server to my sources.list but it says it is untrusted
[01:52] <genii> meh typos
[01:52] <Radiohead> damn
[01:53] <scottg489> Radiohead: There's a 15 Step long guide to do that
[01:54] <sarnold> Radiohead: try the debian-archive-keyring package
[01:54] <scottg489> But I Might Be Wrong
[01:56] <Radiohead> ...
[01:58] <Radiohead> why is the internet all of a sudden frustrating af
[01:59] <scottg489> see sarnold's message. I'm just quoting Radiohead songs :)
[02:00] <Radiohead> I gave it a shot, already installed but its just giving me my raspbian servers
[02:00] <Radiohead> im trying to get to the debian ones
[02:00] <Radiohead> Im being stalked by weirdos
[02:00] <Radiohead> so its just a frustrating experience
[02:00] <scottg489> damn what a Let Down
[02:00] <sarnold> Radiohead: this package just installs gpg keys -- look at dpkg -L debian-archive-keyring  output
[02:01] <Radiohead> id say they're playing stupid but something tells me its their fixed state of mind
[02:01] <Radiohead> ssarnold it isnt installing the keys i need
[02:01] <sarnold> Radiohead: if you want to change which servers you contact, you have to modify the sources in /etc/apt/sources.list and /etc/apt/sources.list.d/*
[02:01] <Radiohead> very good, but what servers would you put there ?
[02:02] <Radiohead> additionally what keys go on the keyring to access those servers
[02:02] <sarnold> it depends what you're trying to do, and why :) I only have deb-src lines for debian since I want to get their source packages, but that's it..
[02:02] <Radiohead> id expect there to be some kind of debian page that diagrams this but i can find it
[02:02] <Radiohead> im installing wireguard
[02:02] <Radiohead> on a raspberry pi
[02:03] <Radiohead> to test the stupid stalkers
[02:03] <Radiohead> my theory is that they just hack my hard wire here
[02:03] <Radiohead> in which case ill be wealthy af from all the lawsuit monies
[02:04] <scottg489> You sound like a Paranoid Android
[02:04] <Radiohead> ill split it
[02:04] <sarnold> scottg489: you on a roll :)
[02:04] <Radiohead> Its not paranoia if its true ;)
[02:05] <Radiohead> but seriously trafficking is a big deal in our day and age
[02:05] <Radiohead> we should all be a little more aware of how the internet can be used to control people's lives even in a free country
[02:05]  * Radiohead concludes his PSA
[02:06] <Radiohead> I might just grab a signal generator and start blasting the coax, lol
[02:06] <sarnold> best of luck hacking the gibson
[02:06] <Radiohead> its easy
[02:06] <Radiohead> they use physical devices first
[02:06] <Radiohead> remove those, ill be invisible
[02:06] <Radiohead> then I look like any other user on the network
[02:07] <Radiohead> anyways, just tryingg to be defensive of my self
[02:07] <Radiohead> its too cruel of a world
[02:07] <Radiohead> psycopaths and sociopaths and stalkers and all that
[02:08] <Radiohead> thanks for the help, I can see it wont be coming
[02:08] <Radiohead> (net split ruins it)
[07:05] <KelpalotsXYZ> I'd install ubuntu, but it will take me awhile to adapt, since windows does what I need, and ubuntu doesn't. Also because I used it back in the day, and the new stuff isn't the same way I'm used to.
[07:05] <KelpalotsXYZ> I'll have to use touch a lot.
[07:05] <KelpalotsXYZ> for what I need.
[07:06] <KelpalotsXYZ> I used to be in the ubuntu channel over questions I'd answer.
[07:58] <hexaguin> Anyone here familiar with bcache? Having a heck of a time un-bungling my server at the moment.
[07:59] <hexaguin> I'm on Jammy and trying to mount a dirty bcache setup - 1 backing HDD and 1 cache SSD.
[08:01] <hexaguin> It got messed up in the first place by me doing the big smart thing and enabling writeback at runtime - now I can't seem to mount the device at all. `mount /dev/bcache0 /media/bcache` just hangs when I run it.
[08:02] <KelpalotsXYZ> https://wiki.ubuntu.com/ServerTeam/Bcache ...
[08:03] <hexaguin> Yep, I've read the ServerTeam documentation. As well as Arch's, as well as the official docs...
[08:03] <KelpalotsXYZ>  enabling writeback at runtime - now I can't seem to mount the device at all. `mount /dev/bcache0 /media/bcache`
[08:03] <KelpalotsXYZ> oops
[08:03] <hexaguin> All fine and dandy until something goes wrong.
[08:03] <KelpalotsXYZ> https://lo.calho.st/posts/using-bcache-to-back-a-ssd-with-a-hdd-on-ubuntu/
[08:04] <hexaguin> The issue here isn't *setting up* the cache - it's getting a now dirty and uncooperative drive pair to actually mount and behave.
[08:04] <hexaguin> Okay you know what I'm gonna try something really dumb
[08:04] <hexaguin> Wish me luck :p
[08:05] <hexaguin> (hey librachat maybe don't take my beautiful lovely emoticons and make them your gross emoji thanks)
[08:05] <KelpalotsXYZ> google key words is all I got to say, also this might be your problem with your little dirty bcache behavior problem
[08:05] <KelpalotsXYZ> https://lo.calho.st/posts/python-datetime-problems/
[08:05] <hexaguin> ...bcache is a kernel module though? Not a python script...
[08:05] <KelpalotsXYZ> datetime problems affect the kernel.
[08:06] <ThinkT510> your irc client handles displaying of emijis and emoticons
[08:06] <Maik> hexaguin: jammy isn't actually supported here, try #ubuntu-next
[08:07] <KelpalotsXYZ> so does Andchat! :P
[08:07] <hexaguin> Yeah and I'm being grumpy with my client because why not yell at an unfeeling webapp ;p
[08:08] <KelpalotsXYZ> hey hexaguin so datetime kernel problems might be your problem, so I would fix it there, and that's one fucker.
[08:09] <hexaguin> Thanks Maik, I'll ask in there if needed. FWIW I was on an older release before and had this issue too - this is a spare boot drive to try to fix things in Jammy in case there was an update that fixed things.
[08:10] <KelpalotsXYZ> Well using SSD cache isn't simple, so I would imagine it's a lot of problems, and a reinstall is important until you know every problem with the unhooking behavior of your problem.
[08:12] <KelpalotsXYZ> I even have a linux, a command line shell, and an ubuntu bibles.
[08:12] <KelpalotsXYZ> to tell me what to fix it for.
[08:20] <KelpalotsXYZ> too bad neither of the books thought of bcache and neither of the books thought of SSD cache.
[08:20] <KelpalotsXYZ> but TrueNAS did.
[08:22] <hexaguin> Those sorts of books are generally aimed at beginner users - I'm not surprised a somewhat unpopular kernel module for performance enhancement, primarily on servers, isn't in there.
[08:22] <hexaguin> Most users aren't going to use bcache, either because they don't need drive caching, or because they're using a more popular solution.
[08:23] <KelpalotsXYZ> I just bought the lime light network books, and they're okay for some things, but SSD cache isn't thought of in these books, also the real ones ran off, and calling my company theifs these days ain't good.
[08:23] <KelpalotsXYZ> I would.
[08:24] <hexaguin> Oh my gosh if I actually just killed this install I will laugh so hard
[08:24] <KelpalotsXYZ> XD ouch.
[08:24] <hexaguin> I won't even be mad, that would be my fastest time-to-kill on a server install (does it count if it's just a test install though?)
[08:25] <hexaguin> I'm trying dumb stuff I know might break things - whatever happens next is my own fault.
[08:25] <hexaguin> Why do you think I'm on Jammy?
[08:26] <KelpalotsXYZ> Well how about this one
[08:26] <KelpalotsXYZ> https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1861941
[08:28] <hexaguin> Heh, SSH is timing out now - time to try something even dumber to see if it works.
[08:29] <hexaguin> Nah the UUID links were still there
[08:29] <KelpalotsXYZ> Sometimes the access to certain files glitches out, and puts the wrong access to them, so the files don't even run, and then even in root, you got some files that still won't run because they run in user mode instead.
[09:39] <Koopz> assuming i have a cronjob running as www-data piping the output via ">" into a log file owned by root
[09:39] <Koopz> would the command get executed without the output getting logged at all or does it get canceled?
[09:40] <Koopz> due to lack of file permissions, that is
[10:19] <mihaiadrian> can someone help me install telegram-cli on ubuntu 21.10? i'm desperate. i tried the github version, the snap and apt versions.
[10:19] <mihaiadrian> none of it works
[11:54] <dablitz> good morning channel.
[12:23] <TR1950X> can someone  recommend me a book to learn the ubuntu os e.g. including systemd?
[12:25] <Tob> Hi! What a tool may be used to see Systemd targets as a dependency picture/graph?
[12:40] <Tob> There is:  apt install graphviz && systemd-analyze dot --order | dot -Tsvg > systemd-user.svg
[12:40] <Tob> The graph is huge. What a better way to analize structure of targets and services?
[12:41] <SteelRose> Tob: get a bigger monitor? :-)
[12:41] <Tob> Projector!! :) I have 14" laptop.
[12:42] <Tob> May be there is a way to get a limited parts of whole "network" at a time. Somehow split it.
[12:51] <Tob> It seems targets of interest should be specified one by one for 'systemd-analyze dot'. With a list of targets graph will contain items only related to a listed ones.
[12:58] <croraf> What does "sudo apt autoremove --purge" do
[13:17] <mncheck> how do I list all packages belonging to a given section (as shown in apt-cache show) from command line?
[13:27] <croraf> Following my last guestion, I used "sudo apt autoremove --purge" but a number of kernels didnt get deleted, why?
[13:28] <croraf> https://pastebin.com/tVdLdLxk
[13:31] <heller> hey guys. i've got a problem with ubuntu 20 LTS and dns
[13:31] <heller> i'm using netplan, but seems like its not using the DNS i assign
[13:45] <BluesKaj> Hi folks
[13:55] <heller> or what is the proper way to setup network with ubuntu 20?
[13:57] <lotuspsychje> heller: are you on -desktop or -server?
[13:59] <heller> server
[13:59] <heller> i'm not even sure if im using netplan or something else
[13:59] <lotuspsychje> heller: you might wanna ask the #ubuntu-server experts on netplan
[14:41] <Cheaterman> Hello buddiez I hope y'all doing goodie
[14:41] <Cheaterman> My associate screwed up their Ubuntu install and now they're stuck on oem user, uid/gid 29999
[14:41] <Cheaterman> It's not *that* bad (he's been daily-driving this install for almost 2 years now) but it triggers me occasionally and I'd really like to fix it
[14:42] <Cheaterman> is there a clean way to do so? something like do-oem-setup.sh - or whichever command is supposed to be called when autologging into oem user, to properly finish system setup?
[14:42] <Cheaterman> Thanks in advance :)
[15:51] <gvvg> Hi - I'm being told that there is botnet traffic from my server - I'm looking for suggestions on how I can find the offending program - This server is used it for web hosting.... I am being told that there is traffic using port 443 going out to other servers - I need to track down which process this is coming from.
[15:53] <leptone> test
[15:53] <leptone> can you see me?
[15:53] <multi8> yes
[15:56] <ducasse> gvvg: if your server has been compromised, wipe it and spin up a new one from clean backups. we don't do forensics.
[15:57] <ducasse> you can see which processes bind to port 443 with netstat
[16:00] <lotuspsychje> !info lynis | gvvg
[16:18] <olspookishmagus> I think https://terminator-gtk3.readthedocs.io/en/latest/gettinginvolved.html should mention the github page and NOT the launchpage page
[16:22] <leftyfb> olspookishmagus: please contact the maintainer of that documentation.
[16:24] <mjt> gvvg: tbh I'd consider the box compromised and wouldn't trust it any more. I'd backup data wipe the box and start from scratch
[16:25] <gvvg> mjt: is there any scanner to check the box?
[16:26] <leftyfb> gvvg: power it off immediately, pull an image from the disk, rebuild and restore from backup. Feel free to /join #security to help perform forensics on the disk image after the fact
[16:26] <mjt> ^ I agree with such an approach.
[16:27] <mjt> ordinary Unix tools can be used to find offending processes but there's no guarantee they haven't poked more holes into the server to let themselves in later. Wipe and start over.
[16:27] <gvvg> I understand - I am just wondering how to log outbound connection attempts
[16:28] <leftyfb> gvvg: power it off and rebuild. /join #security for forensics only after you have done step #1
[16:28] <gvvg> leftyfb: thank you
[16:28] <gvvg> so no way to log outbound traffic?
[16:28] <leftyfb> ec/join #securty
[16:29] <gvvg> thank you - doing now
[16:29] <gvvg> join #security
[16:29] <leftyfb> gvvg: step #1 power off the machine ASAP
[16:29] <gvvg> leftyfb: understood
[16:30] <Tob> gvvg: sudo netstat -antpu ; iptables/netfilter rules have logging to syslog capabilities
[16:30] <gvvg> Tob: thank you
[16:30] <Tob> All in all you may switch the cable off and continue investigations when it can't access i-net.
[16:31] <Tob> Be aware, worms may poke a things.
[16:32] <mjt> and of course, if the intelligence you have received is correct and malicious processes are listening on web ports, you should consider all data on the server has been exfiltrated unless you have evidence to the contrary.
[16:32] <mjt> which means any user data etc has been compromised and users need to be notified
[17:00] <David3k> how do I enable and use AMDGPU for my R9 285x?
[17:03] <David3k> strange because Tonga is both Volcanic Islands AND Pirate Islands
[17:03] <lotuspsychje> David3k: ubuntu should load the right module for your graphics card, if not check your dmesg whats happening
[17:04] <David3k> it defaults to radeonsi
[17:04] <David3k> I want it to use AMDGPU
[17:04] <KBar> David3K, version of Ubuntu?
[17:04] <David3k> Ubuntu 21.10
[17:07] <Guest67> hi. can anyone help me setup bind9 to use my own DNS servers?
[17:07] <Guest67> my own as in i get to input which servers i want to use*
[17:07] <sadara> Guest67, do you know how DNS works?
[17:08] <Guest67> yea, kinda
[17:08] <sadara> bind is easy to set up, but only if you really understand DNS
[17:08] <Guest67> i need to add dns to my server but i want bind9 to use custom ip of servers
[17:09] <Guest67> can you point me to a guide? im having trouble finding one
[17:09] <sadara> do you mean you want to use custom servers for your dns lookups?
[17:09] <KBar> David3k, `lspci -vv`, `ubuntu-drivers list`
[17:09] <Guest67> yes
[17:09] <sadara> Guest67, you don't need bind to do that
[17:10] <sadara> sudo nano /etc/resolv.conf
[17:10] <leftyfb> Guest67: what are you using bind9 for exactly?
[17:10] <leftyfb> sadara: please do not recommend that
[17:10] <sadara> leftyfb,  why?
[17:10] <Guest67> im using it to add recursive dns for when I want to tunnel to my vps
[17:11] <leftyfb> sadara: because there are much cleaner and preferred methods. Not to mention, we haven't even determined what exactly they are trying to accomplish
[17:11] <leftyfb> Guest67: ok, so you are asking how to set your DNS forwarders?
[17:11] <sadara> leftyfb, I'm working with the lowest common denominator, and he wants to use custom resolvers
[17:12] <Guest67> yes. the guides i've been reading either ignore adding dns forwarders or only mention bind9 with no information how to set custom IP's to forward to
[17:12] <sadara> Guest67, you should really only use bind as a DNS SERVER, not a resolver
[17:13] <sadara> while BIND does allow you to use it as a resolver, the reasons you want to do this are not common
[17:13] <sadara> your computer already runs a resolver, which programs on your computer ask to lookup DNS names
[17:14] <Guest67> can I use dns-crypt then to forward?
[17:14] <leftyfb> Guest67: https://www.digitalocean.com/community/tutorials/how-to-configure-bind-as-a-caching-or-forwarding-dns-server-on-ubuntu-14-04
[17:14] <leftyfb> Guest67: search the page for "forwarders"
[17:14] <sadara> leftyfb, bad leftyfb!
[17:15] <sadara> if the preson asking questions doesn't know if they want a forwarder or a resolver, they def don't need a link to a bind tutorial
[17:16] <sadara> Guest67, DNSCrypt is very rare as well, I think most common is DNS over HTTPs?
[17:16] <sadara> Can you explain what you are trying to do?
[17:17] <sadara> If you just want super sucure and private DNS, I can tell you how to do that quite easily
[17:17] <Guest67> i'm setting up wireguard tunnel to my server and i'd like to add dns servers to use at the server level
[17:17] <Guest67> at the vps level*
[17:17] <Guest67> obv not my hosts but a third-party
[17:18] <Guest67> (sorry if this has been asked, im just having trouble finding some literature)
[17:19] <sadara> so you have a couple of servers at "Site A" and a server at "Site B" and you want to tunnel your dns requests over the wireguard link?
[17:19] <sadara> so all the computers at "site A" send all their dns requests to site be?
[17:20] <sadara> sorry "site B"
[17:24] <Guest67> i got machines on Site A who are tunneling to Site B and I want Site B to forward/use OpenDNS for example
[17:25] <sadara> OK. All you need to do is tell the computers at site B to use OpenDNS, you don't need to configure bind.
[17:25] <Guest67> ok let me look in sudo nano /etc/resolv.conf
[17:26] <sadara> Guest67, is the computer a Desktop or server?
[17:26] <Guest67> the machines are pc's
[17:26] <sadara> Linux or windows (or other?)?
[17:26] <Guest67> in sudo nano /etc/resolv.conf i see 8.8.8.8 and 1.1.1.1 so I just set these to whatever i wanna use?
[17:27] <Guest67> mix of windows, linux, tvs androids etc
[17:27] <Guest67> thats why i want the vps to handle all dns
[17:27] <sadara> where do they gget there IP settings from? DHCP?
[17:27] <sadara> s/get their/
[17:27] <Guest67> probably although i can't be sure
[17:28] <sadara> if you change the DHCP server settings, you can tell all the computers to use a different DNS Server IP
[17:28] <Guest67> but all the computers are not under 1 dhcp router. imagine different sites tunneling to VPS Site B, i need to handle everything
[17:29] <sadara> that makes thins a little more difficult
[17:30] <Guest67> why? i thought the vps can just forward all dns to OpenDNS?
[17:30] <sadara> Sorry, I though you wanted to capture all dns traffic and reroute it to a specific DNS server
[17:31] <sadara> you are correct
[17:31] <sadara> linux uses /etc/resolv.conf to figure out what to do with DNS Queries. However, resolv.conf can be managed by other software
[17:32] <sadara> for example, NetworkManager will repeatedly overwrite resolv.conf
[17:32] <leftyfb> _IS_ managed by other software
[17:33] <leftyfb> it's managed by systemd-resolved
[17:33] <sadara> what OS and version are you running?
[17:34] <sadara> there should be a warning in resolv.conf if it is being managed by something else (like systemd)
[17:35] <sadara> leftyfb, resolv.conf is not always managed by systemd
[17:35] <Guest67> i'm gonna try a guide called "How to Encrypt your DNS with DNSCrypt on Ubuntu" and set my nameserver to 127.0.0.1
[17:35] <leftyfb> sadara: in the context of the support provided by this channel it is
[17:35] <Guest67> in resolv.conf
[17:35] <Guest67> is that good idea to try ?
[17:36] <sadara> no
[17:36] <sadara> not in my opinion
[17:36] <Guest67> and dnscrypt will be set to OpenDNS
[17:37] <leftyfb> Guest67: btw, at this point you would probably be better suited in #ubuntu-server
[17:37] <Guest67> ohhh, ok thank you for pointing me in the right direction
[17:37] <sadara> http://manpages.ubuntu.com/manpages/bionic/man1/dnss.1.html
[17:38] <sadara> I would suggest dnss instead of DNS-crypt (Not many ppl would argue with the statement that DNS-crypt is a dead protocol)
[17:40] <sadara> I would suggest you use DNS over HTTPS rather than DNS-crypt, but the choice is yours
[17:41] <Guest67> cheers sadara and thanks for the advice! ill look into dnss
[17:48] <Guest67> having trouble with the dnss, to set is it dnss dns_upstream string 1.1.1.1:443 ?
[17:48] <Guest67> sadara
[17:49] <sadara> one sec
[17:50] <grkblood13> My SSD sata drives wont pull up with my USB adapter but my HDD drives will. Why is that?
[17:53] <sadara> Guest67, that look about right
[17:53] <lotuspsychje> grkblood13: journalctl -f and connect your ssd's, see what kind of errors you get
[17:54] <grkblood13> lotuspsychje, nothing.
[17:54] <lotuspsychje> grkblood13: plug out/back in
[17:55] <grkblood13> i did. my power cable has a toggle on it. tried a couple times and nothing
[17:56] <sadara> grkblood13, sometime it is better to unplug the USB, as some circuitry can be powered by the USB port (assuming a seperate power cable
[17:57] <grkblood13> sadara, tried both. its doing nothing. ive tried with two different ssds now.
[17:58] <sadara> can you unplug, type sudo dmesg -c then replug
[17:58] <leftyfb> grkblood13: define "wont pull up". Are you watching dmesg?
[17:58] <sadara> then dmesg  again
[17:58] <leftyfb> grkblood13: dmesg -Tw
[17:59] <leftyfb> grkblood13: that will let you watch your kernel messages realtime
[18:01] <GrayGhost> every time I get a kernel update I have to reinstall the video software .... why ?
[18:02] <GrayGhost> do I have something set wrong
[18:02] <sadara> what do you do to reinstall?
[18:03] <GrayGhost> sudo apt-get install --reinstall nvidia-driver-470
[18:04] <leftyfb> GrayGhost: what version of ubuntu are you running?
[18:05] <GrayGhost> ubuntu 21.10
[18:05] <grkblood13> leftyfb, with the ssd dmesg does output anything when connecting/disconnecting or powering up and down
[18:07] <grkblood13> leftyfb, maybe it is just a bad drive
[18:08] <KBar> GrayGhost, you probably need to get rid of all of the current drivers and use `sudo ubuntu-drivers autoinstall`
[18:09] <KBar> GrayGhost, right now, it's most likely set to "manual".
[18:09] <devslash> I was updating my ubuntu packages when I noticed apt-get wants to update these packages: libegl-mesa0 libgbm1 libgl1-mesa-dri libglapi-mesa libglx-mesa0 libnss3 mesa-va-drivers
[18:09] <devslash>   mesa-vdpau-drivers mesa-vulkan-drivers I am using Ubuntu Server headless. Arent these drivers graphics card drivers ? if so, do I really need them on a headless server  ?
[18:12] <GrayGhost> KBar, how do I remove all existing drivers ?
[18:20] <KBar> GrayGhost, first take a look at what you have installed `dpkg -l | grep nvidia`
[18:22] <KBar> GrayGhost, `ubuntu-drivers devices` will also list available devices and installed drivers.
[18:24] <KBar> GrayGhost, you can then purge them after making sure no extra, additional packages are being removed, too.
[18:25] <devslash> KBR I ran that command on my server and it returns nothing. Does that mean that those packages I referenced above should be safe to delete ?
[18:25] <KBar> devslash, which command?
[18:26] <devslash> dpkg -l | grep nvidia
[18:26] <KBar> devslash, that wasn't addressed to you.
[18:26] <devslash> I know but my problem is similar
[18:27] <KBar> Not at all.
[18:27] <devslash> did you see what I was asking
[18:27] <KBar> I cannot help you there, sorry. I've never ran a server,
[18:27] <devslash> its got nothing to do with a server
[18:28] <devslash> its whether I need those packages if I dont use the UI
[18:28] <KBar> This was your question, quote-unquote: mesa-vdpau-drivers mesa-vulkan-drivers I am using Ubuntu Server headless. Arent these drivers graphics card drivers ? if so, do I really need them on a headless server  ?
[18:28] <devslash> yea
[18:28] <devslash> but the fact that its a headless server is irrelevant
[18:29] <KBar> I don't know if you need them on your headless server and those commands weren't meant for you.
[18:29] <KBar> Stick around, maybe someone with experience and expertise will answer your question.
[18:38] <ioria> devslash, it the system wants to upgrade those pkgs, it means that you have xorg installed
[18:40] <devslash> but I dont
[18:40] <devslash> dpkg -l | grep xorg returns nothing
[18:42] <KBar> That's not how dpkg -l works.
[18:42] <devslash> what do you mean ?
[18:42] <KBar> You need to specify the name of a package. And Xorg installs many packages.
[18:43] <devslash> that command is valid if you want to list all installed packages
[18:44] <KBar> Wait, I thought you didn't pipe it to grep, but you did. My brain is not functioning properly it seems. Need to rest.
[18:44] <devslash> its ok. We all get brain farts sometimes
[18:46] <tomreyn> devslash: i assume those packages are not required. i cannot tell why they are installed, but you could try to examine apt logs to get a better understanding.
[18:47] <devslash> ok thanks
[18:47] <tomreyn> one scenario where you may want to have those packages on a server is computation on the GPU
[19:40] <noarb-> I have an ubuntu server with some time drift, I notice that timedatectl timesync-status shows a server listed, but `cat /etc/systemd/timesyncd.conf` doesn't show it; is there some other place it can be pulling from? Also not in the /etc/systemd/timesyncd.conf.d/ or /usr/lib/.../ spots
[19:42] <noarb-> nothing in netplan configs
[19:52] <noarb-> using timedatectl show-timesync --all it shows up as a LinkNTPServer instead of a SystemNTPServer
[20:07] <wingone> Hello -- I have a question-- I have installed Ubuntu18.04 via a Vagrantfile.  I then install Ubuntu Desktop with "sudo tasksel install ubuntu-desktop" or "sudo apt-get install ubuntu-desktop".  Then I shutdown the VM and start it in VirtualBox.  Here is the outcome-- (Sometimes my shared directory is duplicated) I receive this error message about giving privileges to Nautilus.  -- https://ibb.co/hdKGYk1
[20:07] <wingone> I created the Nautilus folder as the popup requests -- it no longer pops up.
[20:07] <wingone> However the Dock is still missing
[22:03] <ash_worksi> gah, this used to be easy to google; how do install the command `add-apt-repository` ?
[22:03] <ash_worksi> it's missing in the 18.04 container
[22:05] <sarnold> ash_worksi: try installing software-properties-common -- it's in there in focal, probably the same in 18.04
[22:05] <ash_worksi> ¯\_(ツ)_/¯
[22:05] <ash_worksi> needed to be installed in the container; idk
[22:06] <ash_worksi> I also dky I couldn't find that in 2 seconds on duck duck go
[22:07] <sarnold> apt-file is the much more useful tool for those kinds of questions
[22:07] <ash_worksi> sarnold: I've never heard of it before
[22:07] <sarnold> but that requires downloading and maintaining a database, so it's not nearly as convenient for one-off questions
[22:08] <sarnold> ash_worksi: definitely check out apt-file when you've got a spare moment
[22:10] <ash_worksi> weird, on my local machine (20.04) it says Command 'apt-file' not found
[22:10] <ash_worksi> it's not OOTB?
[22:11] <jeremy31> sudo apt install apt-file
[22:12] <jeremy31> I wouldn't recommend it on limited internet
[22:25] <elichai2> Hi, I got a server with a NVIDIA GPU, but I can't seem to see it in `lspci` or in `nvidia-smi`, how can I check that there's a GPU connected?
[22:32] <genii> elichai2: Are you issuing the lspci command on the local console with an attached screen, or from a remote machine and ssh?
[22:32] <elichai2> genii: I'm in an ssh inside the remote server (actually with tmux on)
[22:33] <genii> If it's not showing in lspci then it may not be enabled in the bios
[22:34] <cbreak> elichai2: running as root?
[22:34] <elichai2> yes
[22:35] <cbreak> is the GPU broken?
[22:35] <cbreak> does it have all extra power connectors connected?
[22:35] <cbreak> is it in a working pci slot?
[22:35] <elichai2> cbreak: I rented a server with a GPU, I can't check that
[22:36] <elichai2> genii: Sadly I don't think I can check the BIOS of a rented server
[22:36] <cbreak> it might not have a GPU, if it's not in lspci
[22:36] <cbreak> or lshw
[22:36] <elichai2> cbreak: that's what I'm trying to figure out, if it's a driver issue or it's just not there
[22:37] <cbreak> lspci shows stuff without any drivers required I think
[22:37] <cbreak> and if you have nvidia-smi, then you should have the nvidia drivers too
[22:37] <cbreak> probably by installing the nvidia cuda package from nvidia
[22:37] <elichai2> lshw: https://termbin.com/z75h
[22:37] <elichai2> installed cuda from the nvidia repository
[22:38] <elichai2> lspci: https://termbin.com/6kme
[22:38] <cbreak> I usually use https://developer.nvidia.com/cuda-downloads?target_os=Linux&target_arch=x86_64&Distribution=Ubuntu&target_version=20.04&target_type=deb_local
[22:39] <elichai2> lspci -v: https://termbin.com/iexa
[22:41] <elichai2> cbreak: that's how I installed
[22:42] <cbreak> sounds like you don't have a GPU then.
[22:46] <elichai2> I'll try to launch another machine and see if it's different there
[22:47] <genii> You might need some kind of VGA passthrough into Xen
[22:51] <elichai2> So I see `NVIDIA Corporation Device 228b` in the new machine. now trying to install cuda and hope for the best :)