Skip to main content

Minecraft on Ubuntu; Finding and fixing errors

Now that Minecraft is outta beta, at version 1.0.0, it's time to get it running on Ubuntu with all the mods. The standard 1.0 version runs fine in Ubuntu 11.10, but I'm having some trouble with ModLoader, and therefore all the mods that in turn depend on ModLoader.

My first task is to run Minecraft without any errors. To start I installed and ran Minecraft on Ubuntu using Alloc's Easy Minecraft Installer. This creates a handy desktop icon on the account I used to run the install script. Of course, using this icon precludes seeing any error output from the program. Once you've installed Minecraft using the script, you can copy the icon file to any other desktop directory, and then update the command line with the name of the new home directory. Then, set the properties of the shortcut file to "executable"

To review the error output, I open Terminal and paste in the command:

java -jar /home/[myhomedir]/.minecraft/minecraft.jar

where [myhomedir] is the name of my home directory.

Or, you can use the tilde ("~"):

java -jar ~/.minecraft/minecraft.jar

This works in Terminal, but not in the destop icon command field.

My first error is:

GL ERROR Pre render 1281: Invalid value

To resolve this error, in ~/.minecraft/options.txt, I set advancedOpengl:true (this was originally false)


Now I get:

Loading: net.java.games.input.LinuxEnvironmentPlugin
Failed to open device (/dev/input/event3): Failed to open device /dev/input/event3 (13)

...

down to

/dev/input/event0

The fix for this, from the World of Minecraft support forum, is the following Terminal command:

 sudo chmod go=u /dev/input/event*

This worked; I now see:

Loading: net.java.games.input.LinuxEnvironmentPlugin
Linux plugin claims to have found 4 controllers

So, no errors!

Comments

Popular posts from this blog

Virus scan Windows using a Linux live CD

[There's been quite a bit of interest in this post and I've expanded on it quite a bit. Please post any comments or questions to help me improve this guide. - Neil] Keith and I have both run into situations where we want to recover a Windows computer by cleaning it up with a Linux Live (bootable) CD distro. This offers several advantages to cleaning up an infected or compromised computer by booting into Windows: It prevents the malware, if it exists, from jumping from the infected computer or partition we are trying to fix to the repair partition or boot medium.If we boot from a CD, there's actually no way to alter the boot medium, since it's read-only. Naturally, we started with Knoppix -- download it here. Installing and scanning with F-Prot is covered in this Knoppix.net discussion thread, Virus Scan from LiveCD, which describes how to install F-Prot from the command line using apt-get. Also, In Knoppix 5.1, you can boot from the Knoppix CD and install F-Prot wi…

1Password on Ubunutu

One of the biggest barriers preventing me from using Ubuntu as my primary desktop OS used to be my favorite password manager, 1Password. I use it on the Mac, Windows, iOS, and Android and couldn't really function without it.

For a while I could use it on any computer running a web browser using the 1Password Anywhere browser only implementation, with Dropbox. But Dropbox no longer supports that option (not sure why, but that's the way it goes).

I was thrilled to discover that 1Password 4.6 for Windows runs quite reliably on Ubuntu via Wine. Even better, the Browser Helper program also runs on Wine, which means I can also use the nifty browser add-ons to auto-fill web logins.

Installation was super easy. I installed Configure Wine from the Ubuntu Software app, and just like that, I could run Windows applications. I then followed the excellent instructions on the Agile Bits support site, Running 1Password for Windows on Linux systems. It worked just as advertised, and now I am …

Webmin on CentOS

We use CentOS for our web servers, and favor Webmin as a way to administer our servers. To install Webmin via yum on CentOS, follow these steps as root or sudo, from the command line (via SSH or at the console). These steps will also work for RedHat servers.Configure the Webmin repository and installWebmin is not available via yum in the default CentOS repository. Follow these steps to add the Webmin repository (repo) from Webmin.com.Create and edit the repository file # nano /etc/yum.repos.d/webmin.repoAdd the [Webmin] section (listed below) to the new repository fileSave the new fileImport the public key: # rpm --import http://www.webmin.com/jcameron-key.asc
Install webmin: # yum install webminOpen the FirewallIf your server is protected by a firewall, you won't be able to access Webmin until you open port 10000. Use these steps on CentOSBackup the current firewall settings: # cp /etc/sysconfig/iptables /etc/sysconfig/iptables.bakInstall the Red Hat firewall configuration tool # …