-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to install appimage on Crostini #150
Comments
The appimage doesn't come with the MSA components, which lets you sign in
to XBL. So you need to install them separately, read the docs for that.
The nss error means you probably don't have libnss3 installed.
You also need to preload the lib when you run the appimage so it doesn't
crash when signing in to Google. E.g LD_PRELOAD=/usr/bin/libnss3
./Minecraft_bedrock_launcher.appimage.
…On Mon, Sep 16, 2019, 10:52 AM Traek Malan ***@***.***> wrote:
I could really use some help figuring out what dependencies I may be
missing or if I'm barking up the wrong tree altogether: I'm trying to
install on ChromeOS (an ASUS Chromebox 3, as it happens) that has GPU
acceleration turned on for Linux (Crostini).
I downloaded the appimage and ran:
chmod +x Minecraft_Bedrock_Launcher.AppImage
./Minecraft_Bedrock_Launcher.AppImage
[image: installation_screenshot]
<https://camo.githubusercontent.com/5c2b47340f14b8a8acf9ca0e536f2e341a002ed5/68747470733a2f2f692e696d6775722e636f6d2f3073484a63536f2e706e67>So
far, so good, right?
Looking back at the Terminal, I see this since starting it:
qrc:/qml/ThemedControls/PlayButton.qml:8:30: Unable to assign null to QString
Version list loaded, entry count: 150
Clicking on '*Sign in with Google*', I get this in the Terminal and the
installer window just disappears:
[2955:3002:0916/103354.450833:ERROR:nss_util.cc(712)] Error initializing NSS with a persistent database (sql:/home/traek/.pki/nssdb): libsoftokn3.so: cannot open shared object file: No such file or directory
[2955:3002:0916/103354.451114:ERROR:nss_util.cc(201)] Error initializing NSS without a persistent database: NSS error code: -5925
[2955:3002:0916/103354.451135:FATAL:nss_util.cc(203)] nss_error=-5925, os_error=0
#0 0x7919d0a5b16e <unknown>
#1 0x7919d0a6d8ae <unknown>
#2 0x7919d122a2da <unknown>
#3 0x7919d122a6e0 <unknown>
#4 0x7919d1158dc5 <unknown>
#5 0x7919d10457e7 <unknown>
#6 0x7919d1010ad7 <unknown>
#7 0x7919d01a789a <unknown>
#8 0x7919d01a8e06 <unknown>
#9 0x7919d01aadd7 <unknown>
#10 0x7919d0383857 <unknown>
#11 0x7919d06ba0b0 <unknown>
#12 0x7919d0ad0c59 <unknown>
#13 0x7919d0a75ff0 <unknown>
#14 0x7919d0a77cbd <unknown>
#15 0x7919d0a78178 <unknown>
#16 0x7919d0a79610 <unknown>
#17 0x7919d0a75095 <unknown>
#18 0x7919d0a91bba <unknown>
#19 0x7919d03bca68 <unknown>
#20 0x7919d03bcc4b <unknown>
#21 0x7919d0aa9890 <unknown>
#22 0x7919d0aa596d <unknown>
#23 0x7919cd6d94a4 start_thread
#24 0x7919ccb7ed0f clone
Aborted
Thinking there is some kind of permissions issue, I also tried (and
failed) to use sudo as a workaround:
sudo ./Minecraft_Bedrock_Launcher.AppImage
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
No protocol specified
qt.qpa.screen: QXcbConnection: Could not connect to display :0
Could not connect to any X display.
Lastly, I tried supplying several APKs to work around this issue, all of
which gave me the following error message:
[image: error_message]
<https://camo.githubusercontent.com/bd3372a2d446784f8eb40d8e6e35d4d855aafdc2/68747470733a2f2f692e696d6775722e636f6d2f525078637a704c2e706e67>
Honestly, it should be fairly simple to do this on a ChromeOS device given
they now have native Google Play Store support. However, since they seem to
arbitrarily disable Minecraft on everything I can have, this project seems
to be the best way to go. I already use this on my two Ubuntu machines and *absolutely
love it*!
Any pointers and/or experience with getting Minecraft Bedrock Edition and
Xbox Live sign-in working on ChromeOS would be greatly appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#150?email_source=notifications&email_token=AFYTD5HWAL55KSBOJANW4TDQJ7BVBA5CNFSM4IXFMSTKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HLUYFVQ>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFYTD5HXLPGBR6MJJY7CDBDQJ7BVBANCNFSM4IXFMSTA>
.
|
Sorry for not looking at the docs, first. I obviously assumed there was more in the appimage. Going through the docs was educational. Forgive me for pasting this mess but all seems to go quite well until the tail end...
To be clear, I had to add a couple of packages to get Crostini a bit closer. For posterity, these were added to the top of the Ubuntu 18.04+ commands (I figured it was closest) in Compiling MSA:
Since everything seems to start breaking at 97%, could this really be a simple issue of another dependency or am I seeing something introduced in a recent change? This seems super stable so I'm assuming it's yet another dependency issue. Hopefully this is a little easier to parse now that most of the dependencies are here (I thought all). Any other pointers before I wear out my welcome here? Since there seems to be a lot of standardization around Crostini for ChromeOS Linux Beta support, this might approach something useful for others trying to get these cheap devices working for some Minecraft goodness! Thanks again. |
Does Crostini even support gfx acceleration? |
What does apt-cache search libcrypto yeild?
…On Tue, Sep 17, 2019, 6:11 AM Traek Malan ***@***.***> wrote:
Does Crostini even support gfx acceleration?
[image: crostini_flag]
<https://camo.githubusercontent.com/52d5c3856396106482d510a4c81a385d54382eca/68747470733a2f2f692e696d6775722e636f6d2f734250744c6e562e706e67>
Yep!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#150?email_source=notifications&email_token=AFYTD5BG3V6WZ3G3YIHRR3LQKDJQNA5CNFSM4IXFMSTKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD64PBYQ#issuecomment-532213986>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFYTD5C4RZ4BZT7BQQLPJKLQKDJQNANCNFSM4IXFMSTA>
.
|
|
@traek I looked at your compile log, what is your Qt version? You probably will want to get a newer Qt version. |
Interestingly, I got an error:
So I installed qt5-default:
I tried the |
This project requires Qt 5.9, you have to install 5.9 or newer somehow. |
Preferably just migrate to Debian 10. |
I finally got through the MSA build!
For anyone looking for instructions on an admittedly pretty straightforward way to upgrade Crostini from Stretch to Buster, check this out: https://www.aboutchromebooks.com/news/linux-debian-10-buster-upgrade-chromebooks-chrome-os-project-crostini-how-to/ I was also able to install libnss3 and start the Launcher!
Debian 10 seemed to do the trick! Now that I have that, I was able to log in to Google, download the latest copy of Minecraft and start running. However, I started getting this message: Dumb question: does the appimage include the actual launcher (I mean it's in the name, so I assume so)? If so, I'm not finding it... what was also unclear in the error message was where I would expect to find the binary as it showed the build location, assuming I'd be building from source instead of pulling it from the appimage. |
Try launching the game manually. |
@traek You need to install the yet undokumented appimage minimal dependencies of the Appimage minimal dependences - Gamelauncher not found (Debian (ChromeOS Linux) / Ubuntu / AMD64)
|
This thread has helped me immensely. Currently stuck trying to install the Appimage deps on Crostini with Deb10:
P.S. Was able to manually download and install libsensors4. |
I could really use some help figuring out what dependencies I may be missing or if I'm barking up the wrong tree altogether: I'm trying to install on ChromeOS (an ASUS Chromebox 3, as it happens) that has GPU acceleration turned on for Linux (Crostini).
I downloaded the appimage and ran:
So far, so good, right?
Looking back at the Terminal, I see this since starting it:
Clicking on 'Sign in with Google', I get this in the Terminal and the installer window just disappears:
Thinking there is some kind of permissions issue, I also tried (and failed) to use
sudo
as a workaround:Lastly, I tried supplying several APKs to work around this issue, all of which gave me the following error message:
Honestly, it should be fairly simple to do this on a ChromeOS device given they now have nativeish Google Play Store support. However, since they seem to arbitrarily disable Minecraft on every ChromeOS device I own (6 device types, 9 in total), this project seems to be the best way to go. I already use this on my two Ubuntu machines and absolutely love it!
Any pointers and/or experience with getting Minecraft Bedrock Edition and Xbox Live sign-in working on ChromeOS would be greatly appreciated.
The text was updated successfully, but these errors were encountered: