- Home /
How to run the exported game on ubuntu
I am having a problem running the exported game on ubuntu linux. I am getting this message: Could not display "/media/*/682A-88E8/Game". There is no application installed for executable files. Do you want to search for an application to open this file?
What should i do to make it work?
Using Linux, and expecting anything to just... "work"? It is to laugh. Ha! Ha!
Well, yes, actually I installed Ubuntu a while ago and so far everything so far has in fact just worked. I suspect you haven't actually used any version of Linux in the last 10 years. As for the question, if you're using Unity on Windows, then you have to fiddle with file permissions first since the file systems aren't really compatible. If you're using Unity on OS X then it will just work.
Answer by eweeparker · Jun 14, 2015 at 01:55 PM
in terminal type: chmod +x nameOfGame.x86
then, in the same folder where you have your game data, in your terminal run: ./nameOfGame.x86
Answer by Landkeeper86 · Oct 06, 2013 at 06:40 PM
right click on executable properties->permission->check "allow executing file...." and try again, some error might still occur if missing dependencies so i suggest to run it in the terminal so you can see it
Hi,
I've got the same problem : exporting from Windows, I tried all modes "x86, x86-64, universal" + allowed the execution of the file once copied on Ubuntu... and the program still doesn't starts :( Even in ter$$anonymous$$al, the file is just unrecognized as an executable file...
yes this is common, i even removed the extension .x86 or .x64, after I went to the ter$$anonymous$$al and browsed to the folder of the file, once in the location of the executable(the name is linuxTest) type "./linuxTest" then the fun begin cause many dependency are required, mesagl mesagl-dev and so forth, once you get them all, you'll be able to double click on executable and it will run without the ter$$anonymous$$al
ok thanks for the hint :) but since I'm not a Linux guru at all, how could I know which dependencies are missing ? and then how to install them properly plz ?
the list will display in the ter$$anonymous$$al, that is why I suggested to run it in there, please tell me which linux version you are running and post the errors received and I'll guide you through
fantastic probably the app does same thing that i do manually, thanks
Answer by qwertyk31 · Nov 19, 2013 at 11:22 PM
Make sure both of the files (the exe and the data folder) are on the home drive not a usb. the right click the exe and tick "executable" now the game should run when you click it.
Actually, I've been able to run programs off of USB drives. It's even possible to run a light weight operating system off a USB drive, so I see no reason that it has to be on the home drive.
Answer by Alesk · Oct 18, 2013 at 05:23 PM
Thanks for your help, but... I've found an easy solution in the meantime :) I asked a friend who had a similar problem with deploying a linux app for many customers, here is the way he used to do :
1) download getlibs-all.zip attached here, unpack and install it
2) in terminal type : getlibs pathToYourUnityAppfile
3) wait for the downloading of everything
4) reboot
done ! you can run your linux unity exe by double clicking it :)
At least it worked for me ;) Let me know if you think something might be missing in this process, else it should be good to share this solution widely ;)
Does your friend happen to know how to set up an ubuntu aws instance to run unity?
Answer by mickyballadelli · Sep 17, 2017 at 05:21 AM
I had the same problem on Ubuntu 17.04. The .x86 game just would not start.
To fix it I created a 64 bit version of the game (x86_64), then followed the advice to allow execution of the executable, and it worked.