Minecraft java ca-certs and fedora 28 - ssl

I've come to ask about a problem that has been effecting a few linux distors recently. Mainly Linux Mint and Fedora. I play minecraft on occasion and make plugins and such. So whenever I try to join a server it fails and says (authentication servers are down) when they obviously are not.
Further research on the topic showed that if you update-ca-certs on mint it fixes it. Though there isn't that command on fedora and update-ca-trust doesn't fix the problem.

Related

How can make a ARM64 Vm works with Cockpit from a AMD64 ubuntu computer?

So I am trying to make a virtual machine of a raspios-bullseye-arm64.
By using Qemu on my ubuntu 22.04 Lts x86_64, I was able to see the raspberry terminal.
I could not access to that VM because the default user and pw didnĀ“t work. (but at least I know it launch)
So now my main goal was to get Cockpit to work and integrate the Cockpit-machines.
That part was easy and now I can make the amd64 machines without problem.
Now my goal is to get the arm64 machines to work with cockpit but I am not able to.
I don't know if it will be possible or I will have to get another machine with arm64 architecture to install the cockpit and have the arm64 and amd64 separated in two different machines.
Hope you guys can help me because nothing seems to solve my problem on my research.
I already tried to change the CPU configuration.
Also the boot order.
It keeps getting me the error of no bootable decive.
I am sure this is because of the difference of architecture.

setting up monodevelop in xfce

I use this solution to have a VNC desktop session with a remote Ubuntu PC https://www.digitalocean.com/community/tutorials/how-to-install-and-configure-vnc-on-ubuntu-16-04
I want to setup monodevelop on this machine. I followed the instructions and am able to run monodevelop and write code, however when I attempt to run it I get "Could not connect to the debugger". I tried various solutions suggesting changing environment variables to force monodevelop to use xterm and it did not work, however I'm not positive I did it correctly as the solution was meant for gnome and the modifications to the command for XFCE were not clear to me. At this point I'd be willing to get paid support, but I'm not even sure where I could find any for my use case. Does anyone have experience getting monodevelop to work on XFCE? If not what is the best environment for getting it going (ideally a way where I could remote in too). I'm very accustomed to the RDP workflow where I can actually troubleshoot on a development server and be very close to the real world environment to get things running, then check-in and deploy. I think there are a lot of platform differences with monodevelop so I really really really want to develop on Ubuntu (remotely).

Ubuntu on WSL doesn't launch

I have installed Ubuntu 18.04 for windows subsystem for linux on windows 10, after enabling WSL in Powershell (instructions here: https://learn.microsoft.com/en-us/windows/wsl/install-win10).
I've done this before on a desktop but now I'm doing it on a laptop. I had no issues with the previous installation but this time around ubuntu will not launch. I get the ubuntu console popping up briefly before disappearing.
Also trying to run bash.exe from the command line fails silently (doesn't hang, just exits with no message), which may be related.
I'm struggling to figure this out as I have no idea where any error messages might be logged. Does anyone know how I can investigate further why this is happening?
Setup is a windows 10 Pro, os build 17134.376, everything up to date.
I'm struggling to figure this out as I have no idea where any error messages might be logged. Does anyone know how I can investigate further why this is happening?
Check with wslconfig.exe /l all registered distros, try to deregister the one you have problem with ( e.g. wslconfig.exe /u Ubuntu [^1]) and run the ubuntu.exe in your distro once again. Just a wild guess, it might be also a problem, if you have more than one copy of the linux distribution in you home directory.
[^1]: Warning: deregistering will delete all the associated files!

I installed KVM via synaptic from Ubuntu repositories, and now my computer won't boot.

2 week old Ubuntu 18.04 install.
As a requirement of running a android device emulator for Android studio, I had to install KVM, so I installed it (the exact package name was kvm, it had some dependencies), and now my computer won't boot. It just sits there with a purple screen.
No keyboard or mouse input has any effect (including REISUB).
I have googled and nothing relevant comes up (it's all about booting VMs, understandably).
I have no idea what to do, especially since I cannot interact directly with my OS.
I still have my boot stick (that I used to install 18.04), and I can boot off that.
Turns out that installing linux-kvm actually doesn't install a VM program, it just installs another kernal that's obsolete, puts it at the top of the grub list, and that's how it breaks your computer.
I fixed it by using boot-repair (https://help.ubuntu.com/community/Boot-Repair).

OpenJDK's JDK location

I'm running Minecraft on a headless Linux server with OpenJDK. I've added a bunch too many mods and its lagging (even on my local network) without using too much CPU or memory (e.g. its lagging, but its still got resources it can use). So I'm pretty sure its a mod fault.
To save the hassle of removing/adding mods one by one to see whats causing the error, my research led me to VisualVM where you can profile the java application and see which entities are doing what and with what resources. With any luck it should point out the mod consuming the most resources, and the most ticks.
Given its a headless server, and VisualVM is a window/GUI application, I've successfully managed to get it running and passing the GUI back to my Windows client using X over SSH.
Trouble is now, that its telling me that I need to use JDK and not JRE. Which is fair enough. Except OpenJDK has JDK in its name, rendering all googling futile. I cannot for the life of me, find if JDK is included in OpenJDK, what its named, and where it may be located. The other problem is, most of the troubleshooting guides I find are for Windows, and dont help me find the JDK on linux.
As some background information, I'm running Debian, and I know OpenJDK's JRE is installed here: /usr/lib/jvm/java-7-openjdk-amd64/jre
Can someone tell me please, if JDK is in OpenJDK, or I need to install it as well? If I do need to install it, is there an OpenJDK equivelant for JDK? If its already included, can someone provide some tips on locating it, so I can point VisualVM at it instead of the JRE?
The OpenJDK has a JDK, but there is also a cut down version which is just the JRE. I would use locate javac and if it can't find it, you need to install the JDK.