[00:00] 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] They do seem to have a discord link that may help find that kinda person. [00:01] !find openjdk-8-jre [00:01] I have tried it on 3 different shared hosting web spaces now. [00:01] Found: openjdk-8-jre, openjdk-8-jre-headless, openjdk-8-jre-zero [00:01] only one of them allows me to change the group (chgrp) [00:01] all others disallow for me as non-root user to do that [00:01] also see the java factoid, to set 8 standard [00:01] What chmod would I set for a directory where users can upload to? [00:01] !java [00:01] To just use java you need a "Java Runtime Environment" (JRE) and/or a browser plugin. If that is not sufficient you will need a "Java Development Kit" (JDK) aka "Software Development Kit" (SDK). Please see https://help.ubuntu.com/community/Java about how to install one of three current implementations. [00:03] Rokuma: as I said above: You can change groups only to groups you're member of [00:03] id lists these [00:03] cbreak, so, that won't work then [00:03] make an admin create a group for this purpose. [00:03] cbreak, what chmod should I set for an upload directory? [00:04] cbreak, that's a big-ass hoster, they don't set custom groups just for me [00:04] a=rwX,+t [00:04] the only solution I can think of is 777 [00:05] that's what I'd set for an upload directory [00:05] cbreak, what's the translation of this into a number? [00:05] who cares? [00:05] a= all ? [00:05] yes [00:05] rwX = read write execute [00:05] so that's 777 ? [00:05] not exactly [00:05] what is +t ? [00:05] as I said above: [00:05] X is only "executable" for directories [00:05] not for files [00:06] +t is "restricted delete" [00:06] so while everyone can create files, you can't delete files owned by others [00:06] cbreak, first of all, thank you for this viable information [00:07] 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] typo: (dis only) = dirs only [00:08] if you do +x on a file, it will become executable [00:08] if you do +x on a file, it won't become executable [00:08] +X [00:08] the purpose is to be able to apply it recursively [00:08] but we are talking about a directory? Is specifying uppercase X important? [00:09] oh, I see. [00:09] Can I repeat what I understood? [00:09] files are not normally expected to be executable, unless they are actually executables [00:09] Just to be sure, my thoughts reflect what you meant to tell me [00:09] so +X is safer [00:10] mkdir data ; mkdir data/pics ; mkdir data/pics/thumbnails ; touch data/bad.sh ; chmod -R a=rwX,+t data [00:10] Is there a magic command to install openjre 7 [00:11] cbreak, is this what you meant? [00:11] webchat66, no . [00:11] you can do mkdir -p data/pics/thumbnails [00:11] Rokuma: but yes [00:11] cbreak, this way, all subdirectories of data and data itself would be writable, but "bad.sh" would not be executable [00:11] the +t would be applied only to the upload directory [00:11] the purpose of +t is to prevent users in shared directories from deleting other users' files [00:12] cbreak, thank you! [00:12] 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] I might get back to you in a few minutes (or not) depending on the outcome [00:15] openjdk 7 is even removed from https://jdk.java.net/archive/, too old, vulnerable [00:16] again, standard 11 would work, i guess. but not with your fancy mods? [00:21] 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] webchat66, time to enter the #minecraft channels [00:23] Thanks [00:26] cbreak, still there? [00:26] Would someone please tell me how to switch from openjdk 11 to 8 [00:27] webchat66: java.com [00:27] Rokuma: what's up? [00:27] i gave you the java factoid [00:27] 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] !java [00:27] To just use java you need a "Java Runtime Environment" (JRE) and/or a browser plugin. If that is not sufficient you will need a "Java Development Kit" (JDK) aka "Software Development Kit" (SDK). Please see https://help.ubuntu.com/community/Java about how to install one of three current implementations. [00:27] it gives how to switch ... [00:27] cbreak, does that even make sense? Would it really be harmful to go with 644 ? [00:27] Rokuma: sure, makes sense. Or don't store passwords in config files. [00:28] sorry, my bad: not 644 [00:28] I meant: 600 [00:28] if you want to keep your configuration secret, don't give anyone read access that's not supposed to know the contents [00:28] yeah, my bad, I wrote something wrong above. [00:28] I meant: 400 vs 600 [00:28] do I really need to remove permissions from myself just to keep the file save? [00:29] if anyone had my login credentials, they could do as they please anyway [00:29] so why should I limit myself on a file? [00:29] making files read only can protect against mistakes [00:29] mistakes by yourself [00:29] that's it. It's not hard security. [00:29] oh, I see [00:29] thank you [00:30] cbreak, I am now creating the bash script for shared hosting [00:30] I will show you the result soon [00:31] no! 400 won't work! [00:31] apache must be able to read the file [00:32] apache and I don't even share a group [00:34] 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] tomreyn, I had literally no idea [00:35] tomreyn, you're telling me, it's _not_ www-data that's running the PHP files? [00:35] that changes _everything_ [00:35] probably, if not most likely, not. [00:35] but i was generalizing, you'll probably need to check with your every host. [00:36] ok, then we can put a stop to all of this now. [00:36] this is a total game-changer [00:36] sorry for bothering y'all for so long! [00:36] Thank you cbreak for your time and effort! [00:37] Thank you tomreyn for understanding my real problem so quickly [00:37] you're welcome! [00:38] 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] I was thinking of Digital Ocean? I've heard a lot of good things about them? Or linode? [00:38] Rokuma: not really, but you could try this in #php if they allow for it (check it first) [00:39] Thank you! [00:39] good luck [00:40] All the best to you! [00:40] Rokuma: does it have to be shared hosting? Because with a VPS you would have free reign [00:40] I would leave now [00:40] ykby, It can be a root server as well... but I am scared [00:41] 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] ykby, but, having a root server out there is a liability risk [00:41] ykby, imagine somebody hacks into the server and uses it, unbeknownst to me, as a web space to host very illegal stuff [00:42] ykby, or somebody steals user data from the server just because of an open security hole [00:42] 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] 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] 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] 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] Definitely has its pros and cons to manage a server by yourself. Appreciate the explanation. [00:47] IRC is really such a nice place. Take good care of it :) [00:48] Thank you, bye bye === NeoFAT32_ is now known as NeoFAT32 [01:44] hello guys [01:44] hi Jason [01:45] what you guys wanna talk about [01:45] see topic, ubuntu support [01:46] thats what you wanna talk about [01:46] Do you have an Ubuntu support related question? [01:47] not really === Abrax- is now known as Abrax [03:00] tomreyn: ok. Thank you [03:11] 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] origintopleft: does this help? https://askubuntu.com/questions/1403753/sda3-crypt-cryptsetup-failed-after-20-04-to-22-04-upgrade [03:17] murmel: that link seems to imply that cryptsetup was at least running on boot. i don't think cryptsetup is doing anything. [03:20] 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] hi :) [03:27] does someone know where simple-scan 3.36.3 on Ubuntu focal saves the user preferences? [03:29] Sven_vB: should follow the xdg standard, which means it should be in ~/.config [03:32] 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] 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] thank you [03:39] Sven_vB: ugh. so the state of the window is saved in .config/simple-scan/state. but not the config oO [03:40] murmel, was my "find" command wrong then? why wouldn't it have found it? [03:41] well. "ls: cannot access '/home/sven/.config/simple-scan': No such file or directory" [03:41] Sven_vB: am not right now on ubuntu (debian sid) so maybe that's why [03:41] ic [03:42] 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) === realivanjx1 is now known as realivanjx [05:44] hi [05:44] anyone there? [05:45] !ask | shubham [05:45] shubham: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [05:46] want to know about this channel [05:47] shubham: this channel is the ubuntu support channel, you can ask ubuntu related questions here [05:48] volunteers will then try to help you [05:48] !topic | shubham [05:48] shubham: Please read the channel topic whenever you enter, as it contains important information. To view it at any time after joining, simply type /topic [05:55] ubuntu has bugs can anyone fix it? [05:56] shubham: which ones? have a look on Launchpad if they are reported already if not file them there. [05:58] !bugs | shubham [05:58] shubham: If you find a bug in Ubuntu or any of its derivatives, please report it using the command « ubuntu-bug » - See https://help.ubuntu.com/community/ReportingBugs for other ways to report bugs. === scoobydoob is now known as scoobydoo [08:05] how can I have multiple icons in the dock for different firefox profiles? [08:06] I have .desktop files but they all show as default firefox in the dock [08:06] in the gnome menu they have their own icons [08:07] hello. i am experiencing boot issue with the 22.04 live usb installer (uefi mode) [08:07] the grub screen loads, then it asks "try or install ubuntu" ... ---> then system freezes [08:07] i have seen this on stack overflow, with no answer [08:07] this is with intel igp graphics [08:08] dreamcat4: press F1 at boot, to switch to textboot, see where the errors got stuck === diskin is now known as Guest8339 === diskin_ is now known as diskin [08:17] 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] http://mytechservinginternetmeals.blogspot.com/2022/08/trying-to-install-windows-1011-on.html [08:18] it does not really work [08:18] works certainly worse than virtualbox solution [08:19] ryzen 5 4600 with gtx1650ti [08:27] thanks lotuspsychje === pah is now known as pa [09:39] 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] I've adapted the fstab on the new disk. [09:40] But what do I do to install and configure uboot on the new disk correctly? [09:45] Is there something like update-grub but for uboot? [09:54] 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] Ah, I guess I can also change it to not use u-boot anymore via instructions on https://wiki.ubuntu.com/ARM/RaspberryPi === bernard is now known as Guest393 === Guest393 is now known as beernarrd === beernarrd is now known as niber === Mentos is now known as BBL === BBL is now known as Mentos === keypushe- is now known as keypusher [12:02] hello - regarding AppArmor - i have a few questions - anyone here with experience in this regard? [12:09] Don't ask to ask, just ask! [12:09] If someone can help, they will ^_^ [12:17] lighthammer: I have experience in AppArmor [12:59] Hi all [13:00] hi === Mibix is now known as FreshPorridge [13:33] How do i give a user account access to  /usr/bin/java: Permission denied [13:36] webchat66: what does "ls -l $(readlink -f /usr/bin/java)" give? [13:36] basicly not. let openjdk handle that? [13:37] oh, there is no such folder [13:39] must be something lik /usr/share/java/ [13:39] 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] https://codetryout.com/vbox-guest-additions-ubuntu-22/ [13:39] https://dev.to/rahedmir/virtualbox-cannot-access-shared-folder-items-permission-denied-fixed-59mi [13:41] real: those look fine [13:41] Thanks EriC [13:42] 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] webchat66 still working on your custom minecraft server with fancy mods? [13:42] no problem real [13:42] EriC^^ -rwxr-xr-x 1 root root 14632 Jul 23 16:13 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java [13:43] oerheks yes I got it to load finally, not im trying to get it started as a service [13:43] webchat66: what's the username of what's running the service or trying to run java [13:44] EriC^^ Its supposed to be a useravvount called minecraft [13:44] EriC^^ this line might be wrong ExecStart=/usr/bin/java   I am not sure java is there im checking [13:44] Thank you EriC, yes I realise that mistake now, so I am trying to learn a bit more about the terminal. [13:45] webchat66: type 'sudo -u minecraft -H -s' [13:46] how i am in a minecraft shell [13:46] now* [13:46] webchat66: then try to manually run "/usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java" [13:47] it brings up a usage page [13:47] Is that the working directory for java? [13:48] you might want to show what guide you followed, webchat66 [13:48] real: no mistake, yeah you're on the right track [13:48] one cannot play directly on the server, only with a client [13:48] :) [13:48] :) [13:49] https://bobcares.com/blog/install-minecraft-server-on-ubuntu/    Down at the step Create Systemd Unit File [13:50] I think i need to know if this line looks right? ExecStart=/usr/bin/java is that where java 8 is? [13:51] webchat66: yeah, it's a symlink to the actual one /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java [13:52] you get that permission denied error after running systemctl start minecraft? [13:53] Yeah here is the paste https://dpaste.com/7LJNE29TD [13:54] I can load it myself in a terminal so i know it works [13:54] maybe it has to do with the workingdir, what did you use for that? [13:54] Its just this systemd is having issues [13:54] ( cause it mentions status=200/CHDIR ) [13:55] CHanged WorkingDirectory=/opt/minecraft/server to WorkingDirectory=/home/minor723/Desktop/QH' [13:55] Without the ' [13:55] Thats where my server files are [13:56] ah, i think that's the problem, minecraft user can't access /home/minor723 [13:56] Can i allow it access? [13:56] Or should I just move the folder [13:56] sure but i think in that way it's kind of a vulnerability for your user [13:57] yeah i'd move it, keep everything contained under the minecraft account [13:57] So move it to opt/minecraft/server [13:58] yeah i guess [13:58] make sure ls -l /opt/minecraft/server has permissions for minecraft and it's the owner/group [14:03] EriC^^ i think i made it worse https://dpaste.com/FDLCS77LL [14:03] webchat66: what do you have for workingdir currently? [14:04] WorkingDirectory=/opt/minrcraft/server/QH [14:04] oh i see the typo [14:05] Aug 14 14:04:42 pms systemd[17605]: minecraft.service: Changing to the requested working directory failed: Permission denied [14:06] webchat66: type 'sudo chown -R minecraft: /opt/minecraft/server' [14:06] my user cant see past /opt/minecraft [14:06] i'm assuming here it wants all the files to be owned by minecraft, never installed it before [14:06] Yeah can we just allow both users access ? [14:07] webchat66: you could add your main user to the minecraft group [14:07] minecraft user still permissions denied [14:08] webchat66: ok first let's get the minecraft working [14:09] webchat66: try "sudo -u minecraft -s" then try "cd /opt/minecraft/server" [14:09] So I su minecraft and I can see all the files. with ls /opt/minecraft/server/QH [14:09] Its my main user who cant see them anymore [14:10] Yeah that worked [14:10] I can see it with your command [14:10] after copy, did you restart the service? [14:11] Yeah I think the problem is im doing the service on my main account, but not on the minecraft account [14:11] DO I have to start the service on the minecraft side? [14:13] Yes, with such changes.. [14:22] I was able to sudo minecraft, cd ~/server/QM , then java -Xmx1024M -Xms1024M -jar server.jar nogui and got it to load [14:26] KillMode=none  What should this be set to it does not like none [14:29] 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] they can answer that in #minecraft?? [14:32] I will try i didnt know if it was a ubuntu error [14:32] this is application specific [14:33] i can assure you all minecraft versions run on ubuntu. i host about 130 different mods for our customers [14:35] ravage thanks ill keep working on it [14:35] Can you tell me how to check permissions on a folder /opt/mincraft/server/QH [14:35] ah, a minecraft expert [14:36] webchat66: will this server be accessible over the internet? [14:36] No I dont need it to be, just locally [14:37] On my local network only. [14:48] 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] https://privatebin.at/?c54d4c0487d6fe44#G9362M4nFcfbVeCPoptMHXUhdR9E3gVsJ1c22meVsj7B [14:58] bitblit_, you probably have ppas installed [15:00] 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] chown root:root -R /path/to/files [15:02] with sudo [15:04] ioria: i probably did at one time, nothing in my sources now. [15:05] 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] bitblit_, apt list --installed | grep ',local\]$' | nc termbin.com 9999 [15:08] ppa's are stored in /etc/apt/sources.list.d/ [15:08] you can manually remove the .lists from there, and the files stiil be in the system [15:09] release-upgrade would remove that.. [15:10] what ? [15:10] ppa's [15:10] i would not manually remove those lists though [15:11] ppas will be just disabled, but the installed files are still there [15:11] yes, and get removes at the cleanup [15:11] i have my douts [15:11] lets wait for the termbin what is going on [15:12] ioria: i have 193. do i need to get rid of those before i can upgrade? [15:12] ppa -purge [15:13] and please, when someone asks you for infos, provide them [15:13] bitblit_, care to share that termbin? [15:13] if not, do a fresh install :-D [15:14] https://termbin.com/0usb [15:15] my sources.list.d/ is empty [15:15] sources.list has only the EOL upgrade sources [15:17] well, i definetly see some packages that need to go! (it's an old box) [15:17] ubuntu-extras-keyring .. icomes from trusty? python3.3 comes from 12.04 ... [15:18] man, this is a weird install [15:18] time to fresh install [15:18] do a fresh install, i would not bother anymore === Mentos is now known as MentozZz [15:21] i need to replace the hardware anyway actually... well thanks for looking. [15:22] have fun! [15:35] Is it ok to make my basic minecraft account part of the sudoers group [15:36] sudo chown root:root -R /opt/minecraft/server/QM/   minecraft is not in the sudoers file. This incident will be reported. [15:37] I can't think of a reason to have a seperate account for minecraft in the first place. [15:37] So I don't think there is any problem giving it the same permissions as a regular user such as yourself. [15:37] im not against running it on my main i was just following a guide [15:38] enigma9o7[m], it is a server [15:39] bitblit_, if you have backups, we can try to revert with an apt preference file [15:39] ah ok. [15:42] lots of issues with minecraft server, specially with fancy mods, i stay out of it, [15:43] 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] 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] ioria: i do have backups. [16:01] 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] ioria: it ran without errors, just listed them all as removed. [16:07] *purged [16:07] bitblit_, so, if you want to purge them in one shot, you can do it [16:19] ioria: it seems to have worked! thank you, and all. [16:19] bitblit_, good job === JanC is now known as Guest3048 === JanC_ is now known as JanC [17:19] can i extend my ubuntu display to another ubuntu laptop ? [17:21] 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] stolen: VNC? [17:21] 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] but I cant move the graphical windows across , can I ? [17:23] correct [17:23] 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] saw/say === Furor is now known as Colere [17:51] How do I copy the contents of /home/minor723/Desktop/QM to /opt/minecraft/server/QM [17:51] They are owned by different people [17:52] sudo cp? [17:52]  sudo cp /home/minor723/Desktop/QM/* /opt/minecraft/server/QM/* [17:52] like this? [17:52] sudo cp -r /home/minor723/Desktop/QM /opt/minecraft/server/QM [17:53] hmmmm your way may work fine too [17:53] im no expert but i think -r will also work (recursive) [17:53] your way may not get dotfiles tho [17:54] or subdirs? not sure. would have to try and see. [17:55] although for your way you wound't put the /* at the very end anyway [17:55] thanks [19:40] does ubuntu support teamviewer [19:40] Or any free way to remote in [19:41] I think teamviewer has a deb file on their website [19:41] https://www.teamviewer.com/en-us/download/linux/ [19:42] webchat66: It is the other way around: Teamviewer supports Linux. :) [19:42] ahh yes [19:43] How do I install a deb package [19:43] i am supposed to double click it and it opens Ubuntu Software Center but that does not happen [19:44] Download the right one, then go into terminal and change into the correct directory and> sudo dpkg -i teamviewer_amd64.deb [19:47] webchat66, that's interesting; are you choosing to directly open the .deb from firefox or in nautilus ? [19:47] Files > Downloads and open it, and it opens it like a zip file [19:48] 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] Here is where I am now with installing teamviewer https://dpaste.com/93E6R3GTQ [19:48] I just need gpg to recognize it when I plug it in so I can use it for auth [19:50] webchat66, cd in Downloads and try : sduo apt install ./teamviewer_15.32.3_amd64.deb [19:51] webchat66, cd in Downloads and try : sudo apt install ./teamviewer_15.32.3_amd64.deb [19:55] 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] well, we 'd need some additional infos about that [19:57] 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] Might need a client on each computer [19:58] https://linuxconfig.org/how-to-autostart-applications-on-ubuntu-22-04-jammy-jellyfish-linux [19:58] well, we 'd need some additional infos about that [19:58] sorry [19:59] webchat66, not sure you can automate teamviewer [20:00] I doubt VNC for Linux would auto connect [20:01] Remmina has an autoconnect option. [20:03] 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] waits* [20:04] Actually VNC might work automatically. They just haven't done it that way at work [20:04] 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] (on the server machine I mean) [20:04] You can also set it up the other way, where it connects to the active desktop session logged in user. [20:05] enigma9o7[m] Do you have a link for instructions [20:05] nope. read manpages and tutorials for x11vncserver. [20:06] 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] 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] 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] How much overhead does vncserver cause if no clients are connected? [20:23] 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] i have an erection [21:04] !language | dartz, not sure if that was a really horrible typo, but if not, you should read this [21:04] dartz, not sure if that was a really horrible typo, but if not, you should read this: Please avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList [21:05] sorry [21:05] i dont have an erection === xenial is now known as Guest1398 [21:09] Jeremy31: Looks like you're going to have to run it and see. [21:14] hey guys i felt down the stairs and forgot how to install programs on ubuntu [21:14] how do i emerge packages [21:14] dartz: sudo apt install [21:15] dartz: Or "sudo snap install " [21:15] Depends on whether you're installing a usual APT package or a Snap package. [21:15] You can also use the Ubuntu Software app. [21:15] much apperciated [21:15] 👍️ [21:16] can i use apt to install macos [21:16] dartz: LOL no. [21:16] 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] well, you can use snap to install macos on ubuntu ... [21:18] https://snapcraft.io/sosumi [21:18] help i used snap and now a tree fell directly onto my computer from outside [21:18] how do i undo this [21:18] ok figured it out [21:18] ^Z was the solution [21:19] dartz: This is the Ubuntu support channel - falling trees are probably outside of the scope of what we can support. [21:19] 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] i deleted apt by accident [21:22] real men use dpkg anyway [21:22] 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] (There's a link to them in the channel topic.) [21:31] https://www.youtube.com/channel/UCML-DIe-i7deHsqmMEuG48w [21:32] ZuppaVideos: I believe you hit the wrong channel here. [21:32] !ops | ZuppaVideos is posting possible spam [21:33] ZuppaVideos is posting possible spam: Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant [21:33] arraybolt3[m]: Please.. [21:33] krytarik: Sorry, I didn't think of that until it was too late... [21:34] krytarik: Actually, nevermind, he just posted porn in the site. [21:34] s/site/channel/ [21:34] Well, I don't usually visit spammed pages. [21:35] (I'm an op here fwiw.) [21:35] 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] krytarik: Didn't know that until after hitting the trigger... [21:36] They also posted the same in #libera btw. [21:39] Oh wow. Blah. Are they trying to get banned? I mean, that's against the Libera.Chat network policy. [21:40] Implying that trying to get banned from libera is against the policy? So 1984 dude. [21:41] Please let's get back to the channel topic, folks - which likely on a Sunday evening means peaceful silence.. :P [21:42] netwurk polise??? more like network polideez XdxdxxdDXDXdxdxDXDXdx dDDDD :3333 [21:42] ronmerkle: Quit it, dartz. [21:43] Sorry, that was my stupid brother. He gets on the computer to say some weird stuff like that, Apologies. [21:43] Hopefully will not happen again. [21:43] Enjoy the rest of your day. [21:44] my day only has 17 minutes left but I will try [21:44] 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] Same here. :o [21:44] How are there 17 minutes in a day [21:44] Sorry, that was my brother again. [21:44] I don't use WIndows. [21:45] I use Plan 9. [21:45] Specifically Plan 9 XiaoDiao Edition for Intel IA-64 [21:45] I made and compiled my own IRC client. [21:45] 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] if* [21:45] My brother is a "hacker" apparently, he cracks all my passwords. [21:46] That's a you problem and not an our problem. [21:46] Thanks. [21:46] 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] ronmerkle: Full Disk Encryption and a GRUB password will help with that. [21:46] ronmerkle: shut it off and remove the hard drive [21:46] seems kinda dead [21:47] If this happens again, I'm giving my Windows 98 FE computer to him and locking him in the basement. [21:47] (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] His computer runs an odd version of Windows [21:48] Identifies as "7 BossKanae Edition 2012" [21:48] 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] I have tried getting Windows 11 on his computer but he locks the computer behind 7 security layers. [21:49] they need to insert more bugs into ubuntu so we have more to talk about [21:50] !topic | rickard [21:50] rickard: Please read the channel topic whenever you enter, as it contains important information. To view it at any time after joining, simply type /topic [21:50] 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] Can I use Ubuntu 5.10 as a daily driver on my old 2006 Windows XP machine? [21:51] !topic [21:51] Please read the channel topic whenever you enter, as it contains important information. To view it at any time after joining, simply type /topic [21:51] It's a Dell Latitude D820. [21:51] the /topic command isn't showing me anything [21:52] 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] slash commands are handled by your irc client [21:52] or not handled, in this case [21:53] I'm using the libera web client http://web.libera.chat/ . Going to download a real client now [21:53] !ops | The whole channel has gotten derailed by non-support questions, any chance we can clean things up here? [21:53] The whole channel has gotten derailed by non-support questions, any chance we can clean things up here?: Help! Channel emergency! (ONLY use this trigger in emergencies) - CarlFK, DJones, el, Flannel, genii, hggdh, ikonia, krytarik, mneptok, mwsb, nhandler, ogra, Pici, popey, sarnold, tomreyn, Unit193, wgrant [21:56] arraybolt3[m]: Just be less strict and try to ignore obvious trolls or spammers. [21:56] krytarik: Understood, thank you. === Vercas65 is now known as Vercas6 [23:15] how can i get upgrade to run with keeping third party repositories? i tried this https://bpa.st/QNXQ [23:16] ph88: you don't. You add the 3rd party repo's after the install and re-install your apps [23:16] that RELEASE_UPGRADER_ALLOW_THIRD_PARTY isn't supported no more ? [23:17] ph88: I couldn't tell you [23:17] It also looks like your repos seem to have errors anyway. [23:17] ph88: either way, it would take under a minute for you to add all the repo's and applications again [23:29] There seems to be some serious problem with my Ubuntu installation. How to diagnose? [23:29] amaroq: We're good at diagnosing, what's it doing? [23:30] thx, arraybolt3[m] ...things keep "closing unexpectedly" So, I 'send the report' but wondering what's going on [23:30] amaroq: What applications in particular are doing this, and do they seem related in any way? [23:31] 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] (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] Like Files just closed unexpectedly a minute ago... [23:32] Can you run "sudo dmesg | nc termbin.com 9999" in a terminal and send the link? [23:32] (I'm suspecting possible hard drive failure, how old is this computer?) [23:33] Yea, I suspect its to do with my hardware. Its a laptop Dell E7470 [23:35] https://termbin.com/1qw1 [23:37] 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] arraybolt3[m], trying to remember...I just hit 'send' when the crash comes asking to send the report [23:41] what does segfaulted mean? I know Nautilus is the file manager. Are partitions corrupted? [23:44] Ahh...hexchat crashed earlier, I remember === mkv is now known as m4v [23:45] Is it ok to just have normal qbitorrent run as a service, or do i need to do the nox version? [23:46] segfault means it tried to access memory it shouldnt or went out of bounds or something [23:47] amaroq: It could just be coincidence - I'd reboot and see if it all goes away. [23:47] tfz74, aha..thx [23:49] 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] Did you install anything from a third-party source by any chance? [23:50] (I know Linux malware is rare, but this sorta sounds like what I would expect a malware infection to sound like.) [23:52] I'd run a memtest overnight. A broken DIMM would explain those three misbehaving and failing processes after boot. [23:52] how does one do a memtest? [23:53] amaroq: https://www.memtest.org/ [23:53] on an uefi booting system like yours, i'd use the free test from https://www.memtest86.com/ [23:54] I download it and put it on usb it looks like? [23:54] (or memtest.org's v6 once it's stable) [23:55] amaroq: I believe that's correct. [23:55] amaroq: yes, the one from memtest86.com you download, write to a usb stick or place on your ESP, and boot. [23:56] ok, downloading and will try that [23:57] 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] 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] tomreyn, rather than creating the usb from the potential problem computer? ...makes sense. [23:59] exactly - if you have another