Choose style:

Author Topic: Minecraft [SOLVED}  (Read 676 times)

0 Members and 1 Guest are viewing this topic.

Offline lswarte

  • Trusted User
  • Member
  • *****
  • Posts: 165
  • Karma: 200
  • Once a noob, always a noob.
    • View Profile
    • Facebook
  • Peppermint version(s): Peppermint 8 & 9
Minecraft [SOLVED}
« on: February 23, 2018, 03:09:02 pm »
My boy wants to play Minecraft on his Linux laptop. So I downloaded the .deb version of Minecraft and installed with the package installer. It seems the entire installation process went just fine, and there is even a minecraft entry in the menu, but .... it doesn't launch.

I do not understand why. I thought of an permission issue, so I checked the permissions with
Code: [Select]
ls -l
The output is:

Code: [Select]
root@ENZ-R34 /opt/minecraft-launcher # ls -l
totaal 132696
-rw-r--r-- 1 root root    394563 okt 25 17:19 cef_100_percent.pak
-rw-r--r-- 1 root root    508414 okt 25 17:19 cef_200_percent.pak
-rw-r--r-- 1 root root   3664281 okt 25 17:19 cef_extensions.pak
-rw-r--r-- 1 root root   4753156 okt 25 17:19 cef.pak
-rwxr-xr-x 1 root root     21672 okt 25 17:19 chrome-sandbox
-rw-r--r-- 1 root root  10127200 okt 25 17:19 icudtl.dat
-rwxr-xr-x 1 root root   7075840 okt 25 17:19 launcher
-rwxr-xr-x 1 root root 108093504 okt 25 17:19 libcef.so
drwxr-xr-x 2 root root      4096 feb 22 19:56 locales
-rwxr-xr-x 1 root root        64 okt 25 17:19 minecraft-launcher.sh
-rw-r--r-- 1 root root    350711 okt 25 17:19 natives_blob.bin
-rw-r--r-- 1 root root    857668 okt 25 17:19 snapshot_blob.bin

Now I think that the regular user should have permission to use these files, but in this output it seems that only root has permission to use these minecraft files.

What can I do? Should I set the permission for the entire directory, or just for one file? For example
Code: [Select]
chown -c user /opt/minecraft-launcher
? And/or
Code: [Select]
chmod -c 777 /opt/minecraft-launcher
?

Thank you for your help, and with kind regards,

Laurens Swarte
the Netherlands
« Last Edit: February 28, 2018, 02:45:13 pm by lswarte »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21243
  • Karma: 2393
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin & 9 Alpha
Re: Minecraft
« Reply #1 on: February 23, 2018, 03:41:25 pm »
It would help if you said where you got the .deb (and the precise file name) so we're on the same page ;)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline lswarte

  • Trusted User
  • Member
  • *****
  • Posts: 165
  • Karma: 200
  • Once a noob, always a noob.
    • View Profile
    • Facebook
  • Peppermint version(s): Peppermint 8 & 9
Re: Minecraft
« Reply #2 on: February 23, 2018, 04:33:28 pm »
I got them information here. And the deb file here.

By the way, I got the version wirt the *.jar file working, but not the version with the *.deb file.

With kind regards,

Laurens Swarte
the Netherlands

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21243
  • Karma: 2393
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin & 9 Alpha
Re: Minecraft
« Reply #3 on: February 23, 2018, 05:33:33 pm »
Okay Minecraft-Staging is really designed for 17.10 or greater. Firstly it requires libicu57 but 16.04 (and therefore Peppermint 7/8) only has libicu55. Secondly it requires GLIBCXX_3.4.22 but 16.04 only has GLIBCXX_3.4.21 (and you cannot easily install a more recent version of libstdc++6 without breaking Peppermint)

The good news...

As minecraft-launcher (which is the actual name of the package) is happy to prioritise loading of libraries located in it's directory over the system default ones, I've added the more recent required libraries to a custom Minecraft-staging-xenial.deb

First uninstall the old version:
Code: [Select]
sudo apt-get remove --purge minecraft-launcher
Now download my modified .deb:
https://peppermintos.info/misc/Minecraft-staging-xenial.deb

and just double-click the Minecraft-staging-xenial.deb file to install it.

[EDIT]

It loads, but as I don't have a minecraft account I can't test it beyond the sing-in screen .. so please let me know if it works.
« Last Edit: February 23, 2018, 05:53:55 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline DARKBOW923

  • Jr. Member
  • **
  • Posts: 78
  • Karma: 7
  • All linux problem have solutions.
    • View Profile
  • Peppermint version(s): Peppermint 7 64 bit :D
Re: Minecraft
« Reply #4 on: February 27, 2018, 10:42:59 am »
First of all, to run minecraft correctly, you need java, if you don't have java installed on your computer, install and test it. (?)

Then, its the first time that you run minecraft on this laptop? maybe minecraft is downloadingthe resources to run it (and this action take time)

Another option, you can download an non-offical copy (a piracy copy of the game) and test it, if the non-offical copy runs, the problem is the offical launcher..
Now with new machine! Medion AKOYA intel core i3 7100 3mb caché 7th gen, 4GB RAM DDR4 Intel HD Graphics 630 1TB HDD space.

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21243
  • Karma: 2393
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin & 9 Alpha
Re: Minecraft
« Reply #5 on: February 27, 2018, 05:34:28 pm »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline lswarte

  • Trusted User
  • Member
  • *****
  • Posts: 165
  • Karma: 200
  • Once a noob, always a noob.
    • View Profile
    • Facebook
  • Peppermint version(s): Peppermint 8 & 9
Re: Minecraft
« Reply #6 on: February 28, 2018, 02:44:27 pm »
It works just fine, thank you very much PcNetSpec. The only problem now is that the boy can't stop .....

With kind regards,

Laurens Swarte
the Netherlands

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21243
  • Karma: 2393
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin & 9 Alpha
Re: Minecraft [SOLVED}
« Reply #7 on: February 28, 2018, 02:58:27 pm »
Bwahahaha .. can't help you there mate :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline vitdut3

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 3
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Minecraft [SOLVED}
« Reply #8 on: April 12, 2018, 05:39:34 pm »
Can anyone help me as well?

I asked this in another post ( https://forum.peppermintos.com/index.php/topic,6811.msg68922.html#msg68922 )

and I was redirected here... but the suggestions here provided did not help me at all! I'm kinda bummed out because PM 8 completely replaced Windows XP and as far as I know Minecraft was running fine on it.

Any further suggestions would be very appreciated!!
« Last Edit: April 12, 2018, 05:41:45 pm by vitdut3 »

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21243
  • Karma: 2393
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin & 9 Alpha
Re: Minecraft [SOLVED}
« Reply #9 on: April 12, 2018, 05:45:11 pm »
Is this on that netbook with an Intel Atom n270 CPU ?

If so, whilst it may be possible to get it running with the older (non-native) java client, I'll pretty much guarantee it'll be unplayable on that machine.

[EDIT]

Still .. we can try if you wish ?
« Last Edit: April 12, 2018, 05:49:15 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline vitdut3

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 3
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Minecraft [SOLVED}
« Reply #10 on: April 12, 2018, 06:21:00 pm »
Nope, it's on an Acer TravelMate 290, running PM 8 with 2 GB of RAM at 400 mhz.

I'm not even trying on the notebook, god forbid 😂

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21243
  • Karma: 2393
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin & 9 Alpha
Re: Minecraft [SOLVED}
« Reply #11 on: April 12, 2018, 06:28:37 pm »
Is it running 32bit or 64bit Peppermint 8 ?

If you're not sure, post the output from:
Code: [Select]
uname -a
« Last Edit: April 12, 2018, 06:37:08 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline vitdut3

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 3
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Minecraft [SOLVED}
« Reply #12 on: April 12, 2018, 06:38:08 pm »
It runs the 32 bit version!

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 21243
  • Karma: 2393
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 8 Respin & 9 Alpha
Re: Minecraft [SOLVED}
« Reply #13 on: April 12, 2018, 06:42:14 pm »
Okay you have 2 options

a) try the minecraft-installer package .. this installs a non-Linux-native Java minecraft client

or

b) A complete reinstall of Peppermint 8 64bit (using the forcepae kernel boot parameter, because the Pentium M in your 290 is actually 64bit, it just doesn't reeport itself as 64bit at installation) .. then use the Linux native minecraft client

The blue or the red pill ?
« Last Edit: April 12, 2018, 07:01:53 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline vitdut3

  • Jr. Member
  • **
  • Posts: 40
  • Karma: 3
  • New Forum User
    • View Profile
  • Peppermint version(s): 8
Re: Minecraft [SOLVED}
« Reply #14 on: April 13, 2018, 01:12:47 am »
I'd go with b) but it's strikes me that the cpu is 64 bit... it's 15 years old, I didn't know 64 bit architecture already existed at the time this laptop was built (2003)

I'll try it once I'm back home! (I live in Italy)


Edit:

Also, I'd be encountering a second problem doing this. This laptop doesn't support boot from USB key. In order to install PM 8 over windows xp I had run PLOP boot manager on xp. That permitted me to choose where to boot from when I turned on the laptop.
Now I can't do this, because I don't know how to do the exact same operation on Linux.

Aaa, it's more complicated than I thought. But thank you again for your help  :D

Edit:

In order to install the 32 bit version of PM 8 I also used the forcepae, so I suppose you're talking about the same steps to take?
« Last Edit: April 13, 2018, 01:44:48 am by vitdut3 »