[00:00] <tomreyn> hmm maybe you need to find someone who is both into minecraft and into ubuntu. there may not be a lot of minecraft players around here right now.
[00:00] <enigma9o7[m]> They do seem to have a discord link that may help find that kinda person.
[00:01] <oerheks> !find openjdk-8-jre
[00:01] <Rokuma> I have tried it on 3 different shared hosting web spaces now.
[00:01] <Rokuma> only one of them allows me to change the group (chgrp)
[00:01] <Rokuma> all others disallow for me as non-root user to do that
[00:01] <oerheks> also see the java factoid, to set 8 standard
[00:01] <Rokuma> What chmod would I set for a directory where users can upload to?
[00:01] <oerheks> !java
[00:03] <cbreak> Rokuma: as I said above: You can change groups only to groups you're member of
[00:03] <cbreak> id lists these
[00:03] <Rokuma> cbreak, so, that won't work then
[00:03] <cbreak> make an admin create a group for this purpose.
[00:03] <Rokuma> cbreak, what chmod should I set for an upload directory?
[00:04] <Rokuma> cbreak, that's a big-ass hoster, they don't set custom groups just for me
[00:04] <cbreak> a=rwX,+t
[00:04] <Rokuma> the only solution I can think of is 777
[00:05] <cbreak> that's what I'd set for an upload directory
[00:05] <Rokuma> cbreak, what's the translation of this into a number?
[00:05] <cbreak> who cares?
[00:05] <Rokuma> a= all ?
[00:05] <cbreak> yes
[00:05] <Rokuma> rwX = read write execute
[00:05] <Rokuma> so that's 777 ?
[00:05] <cbreak> not exactly
[00:05] <Rokuma> what is +t ?
[00:05] <cbreak> as I said above:
[00:05] <cbreak> X is only "executable" for directories
[00:05] <cbreak> not for files
[00:06] <cbreak> +t is "restricted delete"
[00:06] <cbreak> so while everyone can create files, you can't delete files owned by others
[00:06] <Rokuma> cbreak, first of all, thank you for this viable information
[00:07] <Rokuma> cbreak, secondly, I am trying to wrap my mind around the X thingy.  As long as I don't go with  -R  (recursive),  what difference does x (files and dirs) and X (dis only) make?
[00:07] <Rokuma> typo: (dis only) = dirs only
[00:08] <cbreak> if you do +x on a file, it will become executable
[00:08] <cbreak> if you do +x on a file, it won't become executable
[00:08] <cbreak> +X
[00:08] <cbreak> the purpose is to be able to apply it recursively
[00:08] <Rokuma> but we are talking about a directory?  Is specifying uppercase X important?
[00:09] <Rokuma> oh, I see.
[00:09] <Rokuma> Can I repeat what I understood?
[00:09] <cbreak> files are not normally expected to be executable, unless they are actually executables
[00:09] <Rokuma> Just to be sure, my thoughts reflect what you meant to tell me
[00:09] <cbreak> so +X is safer
[00:10] <Rokuma> mkdir data ; mkdir data/pics ; mkdir data/pics/thumbnails ; touch data/bad.sh ; chmod -R a=rwX,+t data
[00:10] <webchat66> Is there a magic command to install openjre 7
[00:11] <Rokuma> cbreak, is this what you meant?
[00:11] <oerheks> webchat66, no .
[00:11] <cbreak> you can do mkdir -p data/pics/thumbnails
[00:11] <cbreak> Rokuma: but yes
[00:11] <Rokuma> cbreak, this way, all subdirectories of data and data itself would be writable, but "bad.sh" would not be executable
[00:11] <cbreak> the +t would be applied only to the upload directory
[00:11] <cbreak> the purpose of +t is to prevent users in shared directories from deleting other users' files
[00:12] <Rokuma> cbreak, thank you!
[00:12] <Rokuma> cbreak, If that's okay for you, I would like to gather my thoughts, let it sink in, and make sure, everything is clear before I leave
[00:13] <Rokuma> I might get back to you in a few minutes (or not) depending on the outcome
[00:15] <oerheks> openjdk 7 is even removed from https://jdk.java.net/archive/, too old, vulnerable
[00:16] <oerheks> again, standard 11 would work, i guess. but not with your fancy mods?
[00:21] <webchat66> i dont think it even gets to the fancy mods part, its this Caused by: java.lang.ClassCastException: class jdk.internal.loader.ClassLoaders$AppClassLoader cannot be cast to class java.net.URLClassLoader (jdk.internal.loader.ClassLoaders$AppClassLoader and java.net.URLClassLoader are in module java.base of loader 'bootstrap')
[00:23] <oerheks> webchat66, time to enter the #minecraft channels
[00:23] <webchat66> Thanks
[00:26] <Rokuma> cbreak, still there?
[00:26] <webchat66> Would someone please tell me how to switch from openjdk 11 to 8
[00:27] <murmel> webchat66: java.com
[00:27] <cbreak> Rokuma: what's up?
[00:27] <oerheks> i gave you the java factoid
[00:27] <Rokuma> cbreak, I have found a website that recommended chmod 440 or even 400 for config files in order to stop other users from reading the config file (e.g. mysql username + password)
[00:27] <oerheks> !java
[00:27] <oerheks> it gives how to switch ...
[00:27] <Rokuma> cbreak, does that even make sense?  Would it really be harmful to go with 644 ?
[00:27] <cbreak> Rokuma: sure, makes sense. Or don't store passwords in config files.
[00:28] <Rokuma> sorry, my bad:  not 644
[00:28] <Rokuma> I meant: 600
[00:28] <cbreak> if you want to keep your configuration secret, don't give anyone read access that's not supposed to know the contents
[00:28] <Rokuma> yeah, my bad, I wrote something wrong above.
[00:28] <Rokuma> I meant: 400 vs 600
[00:28] <Rokuma> do I really need to remove permissions from myself just to keep the file save?
[00:29] <Rokuma> if anyone had my login credentials, they could do as they please anyway
[00:29] <Rokuma> so why should I limit myself on a file?
[00:29] <cbreak> making files read only can protect against mistakes
[00:29] <cbreak> mistakes by yourself
[00:29] <cbreak> that's it. It's not hard security.
[00:29] <Rokuma> oh, I see
[00:29] <Rokuma> thank you
[00:30] <Rokuma> cbreak, I am now creating the bash script for shared hosting
[00:30] <Rokuma> I will show you the result soon
[00:31] <Rokuma> no! 400 won't work!
[00:31] <Rokuma> apache must be able to read the file
[00:32] <Rokuma> apache and I don't even share a group
[00:34] <tomreyn> you're probably not familiar with how shared hosting environments tend to differ from the most simple php setup with apache + mod-php. shared hosting will usually use some form of fcgi / fpm, where php runs as the same user you're logging in with.
[00:35] <Rokuma> tomreyn, I had literally no idea
[00:35] <Rokuma> tomreyn, you're telling me, it's _not_ www-data that's running the PHP files?
[00:35] <Rokuma> that changes _everything_
[00:35] <tomreyn> probably, if not most likely, not.
[00:35] <tomreyn> but i was generalizing, you'll probably need to check with your every host.
[00:36] <Rokuma> ok, then we can put a stop to all of this now.
[00:36] <Rokuma> this is a total game-changer
[00:36] <Rokuma> sorry for bothering y'all for so long!
[00:36] <Rokuma> Thank you cbreak for your time and effort!
[00:37] <Rokuma> Thank you tomreyn for understanding my real problem so quickly
[00:37] <tomreyn> you're welcome!
[00:38] <Rokuma> tomreyn, I don't know if that's against channel policy, but can you recommend a hoster that has this "php runs as the same user you're logging in with" kind of setup?
[00:38] <Rokuma> I was thinking of Digital Ocean?  I've heard a lot of good things about them?  Or linode?
[00:38] <tomreyn> Rokuma: not really, but you could try this in #php if they allow for it (check it first)
[00:39] <Rokuma> Thank you!
[00:39] <tomreyn> good luck
[00:40] <Rokuma> All the best to you!
[00:40] <ykby> Rokuma: does it have to be shared hosting? Because with a VPS you would have free reign
[00:40] <Rokuma> I would leave now
[00:40] <Rokuma> ykby, It can be a root server as well... but I am scared
[00:41] <Rokuma> ykby, I am a linux user.  I wouldn't say that I am good.  But I am definitely not a beginner by no means.  The command line is my territory.
[00:41] <Rokuma> ykby, but, having a root server out there is a liability risk
[00:41] <Rokuma> ykby, imagine somebody hacks into the server and uses it, unbeknownst to me, as a web space to host very illegal stuff
[00:42] <Rokuma> ykby, or somebody steals user data from the server just because of an open security hole
[00:42] <ykby> Yeah I get where you‘re coming from. Definitely don‘t do anything you don‘t feel comfortable with. Unfortunately cannot recommend a specific hoster, but I hope you can find your ideal solution.
[00:42] <Rokuma> I have managed a lot of root server in my days, but I felt like I should go with the flow in my age now
[00:43] <Rokuma> ykby, imagine you sitting at the beach with a drink when a customer calls you about a hacked site.  Nothing more fun than that.
[00:44] <Rokuma> that's also the reason why I am just shifting from plain PHP to Laravel  (just because of the perceived added safety net which I hope it will provide me with)
[00:47] <ykby> Definitely has its pros and cons to manage a server by yourself. Appreciate the explanation.
[00:47] <Rokuma> IRC is really such a nice place.  Take good care of it :)
[00:48] <Rokuma> Thank you, bye bye
[01:44] <Jason> hello guys
[01:44] <oerheks> hi Jason
[01:45] <Jason> what you guys wanna talk about
[01:45] <oerheks> see topic, ubuntu support
[01:46] <Jason> thats what you wanna talk about
[01:46] <oerheks> Do you have an Ubuntu support related question?
[01:47] <Jason> not really
[03:00] <hiya> tomreyn: ok. Thank you
[03:11] <origintopleft> My system's rootfs is on an LVM volume withing a LUKS partition. I recently ran do-release-upgrade from 20.04 to 22.04. The kernel can no longer find /dev/vg0/root. I'm assuming the boot parameters got accidentally dropped during the upgrade, which I can fix, but I need to be able to boot to the existing system first. And I've forgotten what the parameters were to boot from LUKS/LVM. Does anyone know off the top of their heads
[03:14] <murmel> origintopleft: does this help? https://askubuntu.com/questions/1403753/sda3-crypt-cryptsetup-failed-after-20-04-to-22-04-upgrade
[03:17] <origintopleft> murmel: that link seems to imply that cryptsetup was at least running on boot. i don't think cryptsetup is doing anything.
[03:20] <murmel> origintopleft: yeah, seems like grub went awry https://wiki.archlinux.org/title/dm-crypt/Encrypting_an_entire_system#Configuring_the_boot_loader_3
[03:27] <Sven_vB> hi :)
[03:27] <Sven_vB> does someone know where simple-scan 3.36.3 on Ubuntu focal saves the user preferences?
[03:29] <murmel> Sven_vB: should follow the xdg standard, which means it should be in ~/.config
[03:32] <Sven_vB> murmel, I thought so. when I changed contrast, closed simple-scan, and re-opened it, it remembered the change, so it was saved. but according to git, there were no changes in ~/.config. there are a few results for `find ~/.config/ -iname '*scan*'` but none related.
[03:34] <origintopleft> murmel: neither of the two parameters given to specify a crypto device seem to work. i'll flash an iso onto a usb drive and investigate tomorrow. for now i must sleep
[03:34] <origintopleft> thank you
[03:39] <murmel> Sven_vB: ugh. so the state of the window is saved in .config/simple-scan/state. but not the config oO
[03:40] <Sven_vB> murmel, was my "find" command wrong then? why wouldn't it have found it?
[03:41] <Sven_vB> well. "ls: cannot access '/home/sven/.config/simple-scan': No such file or directory"
[03:41] <murmel> Sven_vB: am not right now on ubuntu (debian sid) so maybe that's why
[03:41] <Sven_vB> ic
[03:42] <murmel> Sven_vB: try simple-scan --debug, maybe something shows up on your end? (~/.cache/simple-scan for me gets deleted before I can do stuff oO)
[05:44] <shubham> hi
[05:44] <shubham> anyone there?
[05:45] <lotuspsychje> !ask | shubham
[05:46] <shubham> want to know about this channel
[05:47] <lotuspsychje> shubham: this channel is the ubuntu support channel, you can ask ubuntu related questions here
[05:48] <lotuspsychje> volunteers will then try to help you
[05:48] <Maik> !topic | shubham
[05:55] <shubham> ubuntu has bugs can anyone fix it?
[05:56] <Maik> shubham: which ones? have a look on Launchpad if they are reported already if not file them there.
[05:58] <Maik> !bugs | shubham
[08:05] <Guest9022> how can I have multiple icons in the dock for different firefox profiles?
[08:06] <Guest9022> I have .desktop files but they all show as default firefox in the dock
[08:06] <Guest9022> in the gnome menu they have their own icons
[08:07] <dreamcat4> hello. i am experiencing boot issue with the 22.04 live usb installer (uefi mode)
[08:07] <dreamcat4> the grub screen loads, then it asks "try or install ubuntu" ... ---> then system freezes
[08:07] <dreamcat4> i have seen this on stack overflow, with no answer
[08:07] <dreamcat4> this is with intel igp graphics
[08:08] <lotuspsychje> dreamcat4: press F1 at boot, to switch to textboot, see where the errors got stuck
[08:17] <Guest92> I spent whole day yesterday trying to make qemu/kvm gpu passtrought for ubuntu 22.04 as a host and win10/11 as an guest
[08:17] <Guest92> http://mytechservinginternetmeals.blogspot.com/2022/08/trying-to-install-windows-1011-on.html
[08:18] <Guest92> it does not really work
[08:18] <Guest92> works certainly worse than virtualbox solution
[08:19] <Guest92> ryzen 5 4600 with gtx1650ti
[08:27] <dreamcat4> thanks lotuspsychje
[09:39] <lyva> Hi. I've copied the sd card contents of a Ubuntu Raspberry Pi image I've been using to the right partitions on an SSD.
[09:40] <lyva> I've adapted the fstab on the new disk.
[09:40] <lyva> But what do I do to install and configure uboot on the new disk correctly?
[09:45] <lyva> Is there something like update-grub but for uboot?
[09:54] <ogra> lyva, yes, there is a script called flash-kernel but not sure it would support such a change easily, i.e. how much it actually touches the u-boot configuration ... if you instead back up your data and do a fresh install of 22.04, it should be easier because there u-boot is not used anymore
[09:54] <lyva> Ah, I guess I can also change it to not use u-boot anymore via instructions on https://wiki.ubuntu.com/ARM/RaspberryPi
[12:02] <lighthammer> hello - regarding AppArmor - i have a few questions - anyone here with experience in this regard?
[12:09] <Mentos> Don't ask to ask, just ask!
[12:09] <Mentos> If someone can help, they will ^_^
[12:17] <wez> lighthammer: I have experience in AppArmor
[12:59] <BluesKaj> Hi all
[13:00] <luna__> hi
[13:33] <webchat66> How do i give a user account access to  /usr/bin/java: Permission denied
[13:36] <EriC^^> webchat66: what does "ls -l $(readlink -f /usr/bin/java)" give?
[13:36] <oerheks> basicly not. let openjdk handle that?
[13:37] <oerheks> oh, there is no such folder
[13:39] <oerheks> must be something lik /usr/share/java/
[13:39] <real> Sorry, a bit of noob question. I was reading the tutorial about the terminal on the Ubuntu site, and it said you should be suspicious if anyone ever asks you to use the command "sudo su", I had setup a virtual machine that used these two guides (links below), I notice that they both required sudo su, and I was wondering if the commands they were asking me to run are safe?
[13:39] <real> https://codetryout.com/vbox-guest-additions-ubuntu-22/
[13:39] <real> https://dev.to/rahedmir/virtualbox-cannot-access-shared-folder-items-permission-denied-fixed-59mi
[13:41] <EriC^^> real: those look fine
[13:41] <real> Thanks EriC
[13:42] <EriC^^> in general it's not a good idea to run any command sudo or not without understanding a little what it does exactly
[13:42] <oerheks>  webchat66 still working on your custom minecraft server with fancy mods?
[13:42] <EriC^^> no problem real
[13:42] <webchat66> EriC^^ -rwxr-xr-x 1 root root 14632 Jul 23 16:13 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
[13:43] <webchat66> oerheks yes I got it to load finally, not im trying to get it started as a service
[13:43] <EriC^^> webchat66: what's the username of what's running the service or trying to run java
[13:44] <webchat66> EriC^^ Its supposed to be a useravvount called minecraft
[13:44] <webchat66> EriC^^ this line might be wrong ExecStart=/usr/bin/java   I am not sure java is there im checking
[13:44] <real> Thank you EriC, yes I realise that mistake now, so I am trying to learn a bit more about the terminal.
[13:45] <EriC^^> webchat66: type 'sudo -u minecraft -H -s'
[13:46] <webchat66> how i am in a minecraft shell
[13:46] <webchat66> now*
[13:46] <EriC^^> webchat66: then try to manually run "/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java"
[13:47] <webchat66> it brings up a usage page
[13:47] <webchat66> Is that the working directory for java?
[13:48] <oerheks> you might want to show what guide you followed, webchat66
[13:48] <EriC^^> real: no mistake, yeah you're on the right track
[13:48] <oerheks> one cannot play directly on the server, only with a client
[13:48] <real> :)
[13:48] <EriC^^> :)
[13:49] <webchat66> https://bobcares.com/blog/install-minecraft-server-on-ubuntu/    Down at the step Create Systemd Unit File
[13:50] <webchat66> I think i need to know if this line looks right? ExecStart=/usr/bin/java is that where java 8 is?
[13:51] <EriC^^> webchat66: yeah, it's a symlink to the actual one /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
[13:52] <EriC^^> you get that permission denied error after running systemctl  start minecraft?
[13:53] <webchat66> Yeah here is the paste https://dpaste.com/7LJNE29TD
[13:54] <webchat66> I can load it myself in a terminal so i know it works
[13:54] <EriC^^> maybe it has to do with the workingdir, what did you use for that?
[13:54] <webchat66> Its just this systemd is having issues
[13:54] <EriC^^> ( cause it mentions status=200/CHDIR )
[13:55] <webchat66> CHanged WorkingDirectory=/opt/minecraft/server to WorkingDirectory=/home/minor723/Desktop/QH'
[13:55] <webchat66> Without the '
[13:55] <webchat66> Thats where my server files are
[13:56] <EriC^^> ah, i think that's the problem, minecraft user can't access /home/minor723
[13:56] <webchat66> Can i allow it access?
[13:56] <webchat66> Or should I just move the folder
[13:56] <EriC^^> sure but i think in that way it's kind of a vulnerability for your user
[13:57] <EriC^^> yeah i'd move it, keep everything contained under the minecraft account
[13:57] <webchat66> So move it to opt/minecraft/server
[13:58] <EriC^^> yeah i guess
[13:58] <EriC^^> make sure ls -l /opt/minecraft/server has permissions for minecraft and it's the owner/group
[14:03] <webchat66> EriC^^ i think i made it worse https://dpaste.com/FDLCS77LL
[14:03] <EriC^^> webchat66: what do you have for workingdir currently?
[14:04] <webchat66> WorkingDirectory=/opt/minrcraft/server/QH
[14:04] <webchat66> oh i see the typo
[14:05] <webchat66> Aug 14 14:04:42 pms systemd[17605]: minecraft.service: Changing to the requested working directory failed: Permission denied
[14:06] <EriC^^> webchat66: type 'sudo chown -R minecraft: /opt/minecraft/server'
[14:06] <webchat66> my user cant see past /opt/minecraft
[14:06] <EriC^^> i'm assuming here it wants all the files to be owned by minecraft, never installed it before
[14:06] <webchat66> Yeah can we just allow both users access ?
[14:07] <EriC^^> webchat66: you could add your main user to the minecraft group
[14:07] <webchat66> minecraft user still permissions denied
[14:08] <EriC^^> webchat66: ok first let's get the minecraft working
[14:09] <EriC^^> webchat66: try "sudo -u minecraft -s" then try "cd /opt/minecraft/server"
[14:09] <webchat66> So I su minecraft and I can see all the files. with ls /opt/minecraft/server/QH
[14:09] <webchat66> Its my main user who cant see them anymore
[14:10] <webchat66> Yeah that worked
[14:10] <webchat66> I can see it with your command
[14:10] <oerheks> after copy, did you restart the service?
[14:11] <webchat66> Yeah I think the problem is im doing the service on my main account, but not on the minecraft account
[14:11] <webchat66> DO I have to start the service on the minecraft side?
[14:13] <oerheks> Yes, with such changes..
[14:22] <webchat66> I was able to sudo minecraft, cd ~/server/QM , then java -Xmx1024M -Xms1024M -jar server.jar nogui and got it to load
[14:26] <webchat66> KillMode=none  What should this be set to it does not like none
[14:29] <webchat66> This is a new one, when minecraft users tries to start server i get this. "ERROR Unable to create Appender of type RollingRandomAccessFile" What does that mean?
[14:32] <oerheks> they can answer that in #minecraft??
[14:32] <webchat66> I will try i didnt know if it was a ubuntu error
[14:32] <oerheks> this is application specific
[14:33] <ravage> i can assure you all minecraft versions run on ubuntu. i host about 130 different mods for our customers
[14:35] <webchat66> ravage thanks ill keep working on it
[14:35] <webchat66> Can you tell me how to check permissions on a folder /opt/mincraft/server/QH
[14:35] <oerheks> ah, a minecraft expert
[14:36] <leftyfb> webchat66: will this server be accessible over the internet?
[14:36] <webchat66> No I dont need it to be, just locally
[14:37] <webchat66> On my local network only.
[14:48] <bitblit_> hey all, trying to upgrade from 21.04 using the EOL upgrade process. do-release-upgrade fails with this in the apt.log: WARNING Can't mark 'ubuntu-desktop' for upgrade (E:Unable to correct problems, you have held broken packages.). Here's my main.log and apt.log: https://privatebin.at/?8b2a688accfbdd9f#8uquoLtt7qdovmyc83NQ1RFKhNdioLduFERv5yGPTDJt
[14:48] <bitblit_> https://privatebin.at/?c54d4c0487d6fe44#G9362M4nFcfbVeCPoptMHXUhdR9E3gVsJ1c22meVsj7B
[14:58] <ioria> bitblit_, you probably have ppas installed
[15:00] <webchat66> This might be something you guys can answer, Inside /opt/minecraft/server/QM     the permissions are some minecraft some root. How do I give minecraft perms to every file in that folder
[15:02] <oerheks> chown root:root  -R /path/to/files
[15:02] <oerheks> with sudo
[15:04] <bitblit_> ioria: i probably did at one time, nothing in my sources now.
[15:05] <webchat66> cant run it on my minecraft users they cant sudo and cant run it on root, they dont have permission to that folder
[15:05] <ioria> bitblit_, apt list --installed | grep ',local\]$' | nc termbin.com 9999
[15:08] <oerheks> ppa's are stored in /etc/apt/sources.list.d/
[15:08] <ioria> you can manually remove the .lists from there, and the files stiil be in the system
[15:09] <oerheks> release-upgrade would remove that..
[15:10] <ioria> what ?
[15:10] <oerheks> ppa's
[15:10] <oerheks> i would not manually remove those lists though
[15:11] <ioria> ppas will be just disabled, but the installed files are still there
[15:11] <oerheks> yes, and get removes at the cleanup
[15:11] <ioria> i have my douts
[15:11] <oerheks> lets wait for the termbin what is going on
[15:12] <bitblit_> ioria: i have 193. do i need to get rid of those before i can upgrade?
[15:12] <ioria> ppa -purge
[15:13] <ioria> and please, when someone asks you for infos, provide them
[15:13] <oerheks> bitblit_, care to share that termbin?
[15:13] <oerheks> if not, do a fresh install :-D
[15:14] <bitblit_> https://termbin.com/0usb
[15:15] <bitblit_> my sources.list.d/ is empty
[15:15] <bitblit_> sources.list has only the EOL upgrade sources
[15:17] <bitblit_> well, i definetly see some packages that need to go! (it's an old box)
[15:17] <oerheks> ubuntu-extras-keyring .. icomes from trusty? python3.3 comes from 12.04 ...
[15:18] <oerheks> man, this is a weird install
[15:18] <leftyfb> time to fresh install
[15:18] <oerheks> do a fresh install, i would not bother anymore
[15:21] <bitblit_> i need to replace the hardware anyway actually... well thanks for looking.
[15:22] <oerheks> have fun!
[15:35] <webchat66> Is it ok to make my basic minecraft account part of the sudoers group
[15:36] <webchat66> sudo chown root:root  -R /opt/minecraft/server/QM/   minecraft is not in the sudoers file.  This incident will be reported.
[15:37] <enigma9o7[m]> I can't think of a reason to have a seperate account for minecraft in the first place.
[15:37] <enigma9o7[m]> So I don't think there is any problem giving it the same permissions as a regular user such as yourself.
[15:37] <webchat66> im not against running it on my main i was just following a guide
[15:38] <oerheks> enigma9o7[m], it is a server
[15:39] <ioria> bitblit_, if you have backups, we can try to revert with an apt preference file
[15:39] <enigma9o7[m]> ah ok.
[15:42] <oerheks> lots of issues with minecraft server, specially with fancy mods, i stay out of it,
[15:43] <kushal_kumaran> webchat66: you do the setup as your regular sudo-capable user, and create the minecraft user without those privileges. For any directories that that user needs write access to (for games, this tends to be directories where they put savegames/settings/highscores), change the ownership to the minecraft user (don't make the directory with the actual minecraft executables writable by the minecraft user itself; leave it root-writable only).
[15:46] <kushal_kumaran> arrange for the minecraft process to be run as that unprivileged minecraft user. If you're using systemd to start this server, consider using the features in https://www.freedesktop.org/software/systemd/man/systemd.exec.html to restrict what that process can do (in particular, disallowing execution of any files that the server can write is a very good thing).
[15:58] <bitblit_> ioria: i do have backups.
[16:01] <ioria> bitblit_, ok, let's try this; save the content of https://termbin.com/0usb  in a text file; then do 'awk '{print $1}' that_file |cut -d '/' -f1  | xargs apt -s purge' .... it's only a silulation and see what happens
[16:06] <bitblit_> ioria: it ran without errors, just listed them all as removed.
[16:07] <bitblit_> *purged
[16:07] <ioria> bitblit_, so, if you want to purge them in one shot, you can  do it
[16:19] <bitblit_> ioria: it seems to have worked! thank you, and all.
[16:19] <ioria> bitblit_, good job
[17:19] <stolen> can i extend my ubuntu display to another ubuntu laptop ?
[17:21] <webchat66> kushal_kumaran Thanks  I am still trying, This is really confusing, my minecraft ubuntu user can start the server in a terminal, and my normal user can start the server in a terminal. But systemd cannot
[17:21] <Rexodus> stolen: VNC?
[17:21] <leftyfb> stolen: not really. But uou could use something like synergy to move your mouse from your main display over off the screen to one side and onto the screen of the other machine and control it. Essentially the same thing if you do things like running applications over X forwarding
[17:23] <stolen> but I cant move the graphical windows across , can I ?
[17:23] <leftyfb> correct
[17:23] <leftyfb> but again, you could open saw firefox from the main machine over X forwarding and control it with the same keyboard and mouse
[17:23] <leftyfb> saw/say
[17:51] <webchat66> How do I copy the contents of /home/minor723/Desktop/QM to /opt/minecraft/server/QM
[17:51] <webchat66> They are owned by different people
[17:52] <Jeremy31> sudo cp?
[17:52] <webchat66>  sudo cp /home/minor723/Desktop/QM/* /opt/minecraft/server/QM/*
[17:52] <webchat66> like this?
[17:52] <enigma9o7[m]> sudo cp -r /home/minor723/Desktop/QM /opt/minecraft/server/QM
[17:53] <enigma9o7[m]> hmmmm your way may work fine too
[17:53] <enigma9o7[m]> im no expert but i think -r will also work (recursive)
[17:53] <enigma9o7[m]> your way may not get dotfiles tho
[17:54] <enigma9o7[m]> or subdirs?  not sure.  would have to try and see.
[17:55] <enigma9o7[m]> although for your way you wound't put the /* at the very end anyway
[17:55] <webchat66> thanks
[19:40] <webchat66> does ubuntu support teamviewer
[19:40] <webchat66> Or any free way to remote in
[19:41] <Jeremy31> I think teamviewer has a deb file on their website
[19:41] <Jeremy31> https://www.teamviewer.com/en-us/download/linux/
[19:42] <elias_a> webchat66: It is the other way around: Teamviewer supports Linux. :)
[19:42] <webchat66> ahh yes
[19:43] <webchat66> How do I install a deb package
[19:43] <webchat66> i am supposed to double click it and it opens Ubuntu Software Center but that does not happen
[19:44] <Jeremy31> Download the right one, then go into terminal and change into the correct directory and> sudo dpkg -i teamviewer_amd64.deb
[19:47] <ioria> webchat66, that's interesting; are you choosing to directly open the .deb from firefox or in nautilus ?
[19:47] <webchat66> Files > Downloads and open it, and it opens it like a zip file
[19:48] <AHemlocksLie> I have a Yubikey that has an unpublished key I need to import into gpg so I can use it for SSH authentication. I set it up on an old computer, and I don't think I have the original key files anymore. What can I do?
[19:48] <webchat66> Here is where I am now with installing teamviewer https://dpaste.com/93E6R3GTQ
[19:48] <AHemlocksLie> I just need gpg to recognize it when I plug it in so I can use it for auth
[19:50] <ioria> webchat66, cd in Downloads and try : sduo apt  install ./teamviewer_15.32.3_amd64.deb
[19:51] <ioria> webchat66, cd in Downloads and try : sudo apt  install ./teamviewer_15.32.3_amd64.deb
[19:55] <webchat66> Ok thanks I got it installed, maybe it was a waste of time seems like I cant add this computer to my computers
[19:56] <ioria> well, we 'd need some additional infos about that
[19:57] <webchat66> I want to be able to have teamviewer start up on its own and access this ubuntu teamviewer from another machine. But I dont see that option
[19:57] <Jeremy31> Might need a client on each computer
[19:58] <Jeremy31> https://linuxconfig.org/how-to-autostart-applications-on-ubuntu-22-04-jammy-jellyfish-linux
[19:58] <ioria> well, we 'd need some additional infos about that
[19:58] <ioria> sorry
[19:59] <ioria> webchat66, not sure you can automate teamviewer
[20:00] <Jeremy31> I doubt VNC for Linux would auto connect
[20:01] <enigma9o7[m]> Remmina has an autoconnect option.
[20:03] <webchat66> I just need to be able to connect to it with my phone / another computer. I got teamviewer to "work" but on the laptop it pops open a remote desktop box that says select monitor to share with the requesting applications, and it wais for someone to click ok
[20:03] <webchat66> waits*
[20:04] <Jeremy31> Actually VNC might work automatically.  They just haven't done it that way at work
[20:04] <enigma9o7[m]> I dunno about teamviewer, but you can certainly set up a vnc server that allows someone to log in remotely, and you wont even see it on the machine.
[20:04] <enigma9o7[m]> (on the server machine I mean)
[20:04] <enigma9o7[m]> You can also set it up the other way, where it connects to the active desktop session logged in user.
[20:05] <webchat66> enigma9o7[m] Do you have a link for instructions
[20:05] <enigma9o7[m]> nope.  read manpages and tutorials for x11vncserver.
[20:06] <enigma9o7[m]> If you just run `x11vncserver` on the server machine, using default config, then if you vnc into it you will connect to the active desktop.
[20:07] <enigma9o7[m]> If yo have ssh access already, you can ssh into the machine and start x11vncserver manually even, then able to vnc in immediately.
[20:08] <enigma9o7[m]> I do it that way as I dont want the overhead of leaving vncserver running all the time, although that could be insigificant, i never looked into it farther since that method works for my needs.
[20:10] <Jeremy31> How much overhead does vncserver cause if no clients are connected?
[20:23] <din0> Hi, I recently upgraded to 22.04 from the recently EOL'd version (21.04 or something, Impish?), but now my ssh key authentication no longer works, did it change my authorized_keys?
[21:03] <dartz> i have an erection
[21:04] <arraybolt3[m]> !language | dartz, not sure if that was a really horrible typo, but if not, you should read this
[21:05] <dartz> sorry
[21:05] <dartz> i dont have an erection
[21:09] <jhutchins> Jeremy31: Looks like you're going to have to run it and see.
[21:14] <dartz> hey guys i felt down the stairs and forgot how to install programs on ubuntu
[21:14] <dartz> how do i emerge packages
[21:14] <arraybolt3[m]> dartz: sudo apt install <program name>
[21:15] <arraybolt3[m]> dartz: Or "sudo snap install <program name>"
[21:15] <arraybolt3[m]> Depends on whether you're installing a usual APT package or a Snap package.
[21:15] <arraybolt3[m]> You can also use the Ubuntu Software app.
[21:15] <dartz> much apperciated
[21:15] <arraybolt3[m]> 👍️
[21:16] <dartz> can i use apt to install macos
[21:16] <arraybolt3[m]> dartz: LOL no.
[21:16] <arraybolt3[m]> If you have a Macbook you'd need to download macOS from Apple's website and then install it like that. You can't install macOS on non-Apple hardware without breaking the EULA.
[21:18] <ogra> well, you can use snap to install macos on ubuntu ...
[21:18] <ogra> https://snapcraft.io/sosumi
[21:18] <dartz> help i used snap and now a tree fell directly onto my computer from outside
[21:18] <dartz> how do i undo this
[21:18] <dartz> ok figured it out
[21:18] <dartz> ^Z was the solution
[21:19] <arraybolt3[m]> dartz: This is the Ubuntu support channel - falling trees are probably outside of the scope of what we can support.
[21:19] <s1gyn> WHat up g-units? I have lubuntu 22.04 and I notice in qterminal doing something like echo -e '\a' or tput bel doesn't make a noise. Is there a way to have pulse make the noise vs messing with the pc speak module, which I know is blacklisted by default.
[21:21] <dartz> i deleted apt by accident
[21:22] <s1gyn> real men use dpkg anyway
[21:22] <arraybolt3[m]> dartz: I'm sorry, this is getting into the realm of trolling. I'll have to request that you refrain. Please see the Ubuntu IRC guidelines.
[21:22] <arraybolt3[m]> (There's a link to them in the channel topic.)
[21:31] <ZuppaVideos> https://www.youtube.com/channel/UCML-DIe-i7deHsqmMEuG48w
[21:32] <krytarik> ZuppaVideos: I believe you hit the wrong channel here.
[21:32] <arraybolt3[m]> !ops | ZuppaVideos is posting possible spam
[21:33] <krytarik> arraybolt3[m]: Please..
[21:33] <arraybolt3[m]> krytarik: Sorry, I didn't think of that until it was too late...
[21:34] <arraybolt3[m]> krytarik: Actually, nevermind, he just posted porn in the site.
[21:34] <arraybolt3[m]> s/site/channel/
[21:34] <krytarik> Well, I don't usually visit spammed pages.
[21:35] <krytarik> (I'm an op here fwiw.)
[21:35] <arraybolt3[m]> krytarik: I clicked it since I thought maybe it was a wrong channel post and he was trying to do something that made sense elsewhere.
[21:36] <arraybolt3[m]> krytarik: Didn't know that until after hitting the trigger...
[21:36] <krytarik> They also posted the same in #libera btw.
[21:39] <arraybolt3[m]> Oh wow. Blah. Are they trying to get banned? I mean, that's against the Libera.Chat network policy.
[21:40] <ronmerkle> Implying that trying to get banned from libera is against the policy? So 1984 dude.
[21:41] <krytarik> Please let's get back to the channel topic, folks - which likely on a Sunday evening means peaceful silence.. :P
[21:42] <ronmerkle> netwurk polise??? more like network polideez XdxdxxdDXDXdxdxDXDXdx dDDDD :3333
[21:42] <krytarik> ronmerkle: Quit it, dartz.
[21:43] <ronmerkle> Sorry, that was my stupid brother. He gets on the computer to say some weird stuff like that, Apologies.
[21:43] <ronmerkle> Hopefully will not happen again.
[21:43] <ronmerkle> Enjoy the rest of your day.
[21:44] <rickard> my day only has 17 minutes left but I will try
[21:44] <arraybolt3[m]> ronmerkle: In case it's helpful, Win+L will lock your computer, and if you have a good password that should help avoid stuff like this from happening in the future.
[21:44] <krytarik> Same here. :o
[21:44] <ronmerkle> How are there 17 minutes in a day
[21:44] <ronmerkle> Sorry, that was my brother again.
[21:44] <ronmerkle> I don't use WIndows.
[21:45] <ronmerkle> I use Plan 9.
[21:45] <ronmerkle> Specifically Plan 9 XiaoDiao Edition for Intel IA-64
[21:45] <ronmerkle> I made and compiled my own IRC client.
[21:45] <Bahhumbug> ronmerkle: Advice, is I may?  Your "brother" is going to get _you_ in trouble here.  You may want to do something to prevent that.
[21:45] <Bahhumbug> if*
[21:45] <ronmerkle> My brother is a "hacker" apparently, he cracks all my passwords.
[21:46] <Bahhumbug> That's a you problem and not an our problem.
[21:46] <ronmerkle> Thanks.
[21:46] <eric47> Wow I totally forgot about irc for like twenty years until right now, just got online for the first time since way back then
[21:46] <arraybolt3[m]> ronmerkle: Full Disk Encryption and a GRUB password will help with that.
[21:46] <Jeremy31> ronmerkle: shut it off and remove the hard drive
[21:46] <eric47> seems kinda dead
[21:47] <ronmerkle> If this happens again, I'm giving my Windows 98 FE computer to him and locking him in the basement.
[21:47] <arraybolt3[m]> (I'm guessing he's probably dropping to a recovery mode root shell and then resetting the password that way. Also a BIOS password will help avoid him changing the GRUB password)
[21:48] <ronmerkle> His computer runs an odd version of Windows
[21:48] <ronmerkle> Identifies as "7 BossKanae Edition 2012"
[21:48] <arraybolt3[m]> ronmerkle: I'm very sorry to hear what your brother is doing to mess things up. We understand and don't need any further explanation. If we could keep the channel on-topic, that would be helpful.
[21:48] <ronmerkle> I have tried getting Windows 11 on his computer but he locks the computer behind 7 security layers.
[21:49] <rickard> they need to insert more bugs into ubuntu so we have more to talk about
[21:50] <arraybolt3[m]> !topic | rickard
[21:50] <ronmerkle> To stay on toic, if I install Ubuntu, can I have GRUB encrypted behind ChaCha20 and a password to secure my boot sequence (and subsequently, my machine), from my brother?
[21:50] <ronmerkle> Can I use Ubuntu 5.10 as a daily driver on my old 2006 Windows XP machine?
[21:51] <eric47> !topic
[21:51] <ronmerkle> It's a Dell Latitude D820.
[21:51] <eric47> the /topic command isn't showing me anything
[21:52] <arraybolt3[m]> eric47: Odd. Here's the full text: "Official Ubuntu Support Channel | IRC Guidelines: https://ubottu.com/y/gl | #ubuntu supports Ubuntu and official flavors; versions 18.04, 20.04, 22.04 | Unofficial derivatives: use your distro's support channel, not here. | IRC info: https://ubottu.com/y/irc | Pastes to https://paste.ubuntu.com/ | Download: https://ubottu.com/y/dl"
[21:52] <rickard> slash commands are handled by your irc client
[21:52] <rickard> or not handled, in this case
[21:53] <eric47> I'm using the libera web client http://web.libera.chat/ . Going to download a real client now
[21:53] <arraybolt3[m]> !ops | The whole channel has gotten derailed by non-support questions, any chance we can clean things up here?
[21:56] <krytarik> arraybolt3[m]: Just be less strict and try to ignore obvious trolls or spammers.
[21:56] <arraybolt3[m]> krytarik: Understood, thank you.
[23:15] <ph88> how can i get upgrade to run with keeping third party repositories? i tried this https://bpa.st/QNXQ
[23:16] <leftyfb> ph88: you don't. You add the 3rd party repo's after the install and re-install your apps
[23:16] <ph88> that RELEASE_UPGRADER_ALLOW_THIRD_PARTY isn't supported no more ?
[23:17] <leftyfb> ph88: I couldn't tell you
[23:17] <Unit193> It also looks like your repos seem to have errors anyway.
[23:17] <leftyfb> ph88: either way, it would take under a minute for you to add all the repo's and applications again
[23:29] <amaroq>  There seems to be some serious problem with my Ubuntu installation. How to diagnose?
[23:29] <arraybolt3[m]> amaroq: We're good at diagnosing, what's it doing?
[23:30] <amaroq> thx, arraybolt3[m]  ...things keep "closing unexpectedly" So, I 'send the report' but wondering what's going on
[23:30] <arraybolt3[m]> amaroq: What applications in particular are doing this, and do they seem related in any way?
[23:31] <amaroq> First, the superkey stopped working. Then I can't toggle between workspaces like I used to with ctrl. + alt + space....and things just keep crashing.
[23:31] <arraybolt3[m]> (I'd try a "sudo apt update && sudo apt full-upgrade" to see if that would help, and maybe a "sudo snap refresh" too - I doubt that will fix it but it's worth a shot.)
[23:32] <amaroq> Like Files just closed unexpectedly a minute ago...
[23:32] <arraybolt3[m]> Can you run "sudo dmesg | nc termbin.com 9999" in a terminal and send the link?
[23:32] <arraybolt3[m]> (I'm suspecting possible hard drive failure, how old is this computer?)
[23:33] <amaroq> Yea, I suspect its to do with my hardware. Its a laptop Dell E7470
[23:35] <amaroq> https://termbin.com/1qw1
[23:37] <arraybolt3[m]> amaroq: Odd, the only thing I can see that crashed was Nautilus, which seems to have segfaulted. What else crashed that you remember?
[23:40] <amaroq> arraybolt3[m], trying to remember...I just hit 'send' when the crash comes asking to send the report
[23:41] <amaroq> what does segfaulted mean? I know Nautilus is the file manager. Are partitions corrupted?
[23:44] <amaroq> Ahh...hexchat crashed earlier, I remember
[23:45] <webchat66> Is it ok to just have normal qbitorrent run as a service, or do i need to do the nox version?
[23:46] <tfz74> segfault means it tried to access memory it shouldnt or went out of bounds or something
[23:47] <arraybolt3[m]> amaroq: It could just be coincidence - I'd reboot and see if it all goes away.
[23:47] <amaroq> tfz74, aha..thx
[23:49] <amaroq> arraybolt3[m], I been doing that already. There was some crash when I updated Software to the latest .01 increase... I rebooted and the system came back to my relief but despite reboots the system has been acting quirky for a few days now
[23:50] <arraybolt3[m]> Did you install anything from a third-party source by any chance?
[23:50] <arraybolt3[m]> (I know Linux malware is rare, but this sorta sounds like what I would expect a malware infection to sound like.)
[23:52] <tomreyn> I'd run a memtest overnight. A broken DIMM would explain those three misbehaving and failing processes after boot.
[23:52] <amaroq> how does one do a memtest?
[23:53] <arraybolt3[m]> amaroq: https://www.memtest.org/
[23:53] <tomreyn> on an uefi booting system like yours, i'd use the free test from https://www.memtest86.com/
[23:54] <amaroq> I download it and put it on usb it looks like?
[23:54] <tomreyn> (or memtest.org's v6 once it's stable)
[23:55] <arraybolt3[m]> amaroq: I believe that's correct.
[23:55] <tomreyn> amaroq: yes, the one from memtest86.com you download, write to a usb stick or place on your ESP, and boot.
[23:56] <amaroq> ok, downloading and will try that
[23:57] <tomreyn> it may be safer to do so with a different computer, or using a software which can verify the data written to the usb is identical to that of the .iso.
[23:58] <amaroq> Also, while I'm here. I tried to upcycle a 2012 mac mini but Ubuntu couldn't see the Wi-Fi list. I suspect with a ethernet cable it would work but was surprised that it couldn't see available WiFi Did a search whether this was a known issue with Ubuntu on mac-mini (intel obviously). Any ideas by any chance?
[23:59] <amaroq> tomreyn, rather than creating the usb from the potential problem computer? ...makes sense.
[23:59] <tomreyn> exactly - if you have another