Minecraft pi not launching - minecraft

(solved, make sure your graphics driver is correct, dont remember which, its from between fake and legacy. Otherwise, reinstall your os, it should fix then)
Also, thanks to: Anston Sorensen, for trying to help
Question:
When I launch Minecraft pi it shows a black window for a second and closes.
in command line it gives me the error:
failed to add service - already in use?
after command:
sudo minecraft-pi

Try this:
sudo apt-get purge minecraft-pi
sudo apt-get update
sudo apt-get install minecraft-pi
If all else fails why not just play the full version of Minecraft? (Minecraft Java Edition). https://forums.raspberrypi.com/viewtopic.php?t=279135

Related

Libcamera command not found after installing it

Having a terrible time with the raspi related problems. One of them concerning the libcamera. I have Ubuntu 22.04 64bit on my raspi and I have installed the libcamera package with the command sudo apt install libcamera_*. The problem is that whenever I run a command with libcamera it tells me command not found!!! Any solutions?!! The camera is detected and supported. Thanks in advance for your help.

problems with Arch linux installation commands

It's my first time trying to install and using Arch linux, I was trying to install it in VirtualBox in Mac Os mojave, when i did arch-chroot /mnt(after all the configuration), then tried to nano /etc/locale.conf it just printed command not found.
I've already tried with vim or other commands like sudo or apt to install a plain text editor but it's always the same and I also tried twice but nothing changes.
PLEEAAASE, I need help.
In Archlinux you should use pacman -S to install packages
try this :
"pacman -S nano"
you can see more information here:
https://wiki.archlinux.org/index.php/pacman#Installing_packages
You can install it with the Linux kernel etc.
For installing the kernel you use
pacstrap
so just add nano, vim or whatever text-editor you like to use.
For more information: https://wiki.archlinux.org/index.php/Installation_guide

What is going on and how do I fix it?

https://prnt.sc/hlt4ey
I'm trying to get onto the xfce4 client from my chromebook (and it has worked before), however now this error is popping up. How do I fix this error?
My guess is you may not have the right user privileges. According to the error message you provided you are running an Ubuntu Linux environment.
If you haven't tried running the program through the terminal yet, attempt to do so.
The terminal can typically be opened by the key combination Ctrl+Alt+T on ubuntu linux.
Try using sudo command before running the program. This will run the command you enter using root privileges.
For example, if running the program on your terminal is
myName#ubuntu: xfce4
And this encounters an error, try to use sudo beforehand like so:
myName#ubuntu: sudo xfce4
Alternatively you can log in and not have to type sudo before every command.
myName#ubuntu: sudo bash
password:
If this fails you may need to update the package that contains the library. This can be done on the terminal in a fashion similar to:
myName#ubuntu: sudo apt-get install --only-upgrade xfce4

Cannot start Chromium

I am trying to start Chromium 49.0.2623.108 on Ubuntu 15.10 installed on my ODROID-XU4. It used to work all the time but from one day to the next Chromium will not start. When I try to run it via terminal I get:
~$ chromium-browser
[3813:3840:0101/015306:ERROR:cert_verify_proc_nss.cc(925)] CERT_PKIXVerifyCert for www.google.com failed err=-8181
[3813:3840:0101/015306:ERROR:cert_verify_proc_nss.cc(925)] CERT_PKIXVerifyCert for translate.googleapis.com failed err=-8181
[3813:3839:0101/015306:ERROR:cert_verify_proc_nss.cc(925)] CERT_PKIXVerifyCert for clients2.google.com failed err=-8181
Segmentation fault
odroid#odroid:~$ libGL error: unable to load driver: exynos_dri.so
libGL error: driver pointer missing
libGL error: failed to load driver: exynos
[3866:3866:0101/015307:ERROR:sandbox_linux.cc(334)] InitializeSandbox() called with multiple threads in process gpu-process
Any idea what I can do?
I have already tried reinstalling Chromium. That did not solve the issue.
Thanks in advance!
Ok, so it looks like rolling Chromium back to version 45.0.2454.101 works as a temporary solution (although it'd still be great if someone got the newest version to work). To do this, I had to go through the following steps:
Run sudo apt-get remove chromium-browser to remove the broken version of the package
Get the list of available package versions via sudo apt-cache showpkg chromium-browser (at the time of writing, there were two: 50.0.2661.102 (newest) and 45.0.2454.101)
Install the older version, like so: sudo apt-get install chromium-browser=45.0.2454.101-0ubuntu1.1201
(Optional) If you got a dependency error during the previous step, execute these two first: sudo apt-get remove chromium-codecs-ffmpeg-extra and sudo apt-get install chromium-codecs-ffmpeg-extra=45.0.2454.101-0ubuntu1.1201
Chromium should start up fine now
This worked for two of my Odroid XU4's running Ubuntu 15.10 and Chromium 50.0.2661.102 (before the downgrade).
EDIT: looks like this problem affects all ARM-based single board computers, rather than the Odroid XU4 in particular (although the reference to exynos_dri.so might make it look like an Odroid XU4 issue). See here for more information + other ways to rollback to an older version.
EDIT #2: There also seems to be a way to get the newest version to work, but I have not tried this out so I don't know whether it will actually work or not.

How do you let Ubuntu know you've uninstalled rbenv?

After I uninstalled rbenv from Ubuntu, every time I open the terminal I get this message:
The program 'rbenv' is currently not installed. You can install it by typing:
sudo apt-get install rbenv
How should I remove this message?
Part of the rbenv initialization occurs in your ~/.bashrc or ~/.bash_profile (or one of the similar start-up scripts). Typically those lines are at the bottom of the script. Read the above page for more information and what to look for.
Remove those lines that try to initialize rbenv and you should be fine.