Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
2 captures
13 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
1
Question by UnityLinux · Feb 22, 2013 at 12:55 PM · exportlinuxubuntu

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?

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Kiloblargh · Feb 22, 2013 at 11:00 PM 0
Share

Using Linux, and expecting anything to just... "work"? It is to laugh. Ha! Ha!

avatar image Eric5h5 · Feb 22, 2013 at 11:16 PM 0
Share

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.

avatar image Conect11 · Oct 18, 2013 at 05:26 PM 0
Share

ah, dependency hell, my old friend.

5 Replies

· Add your reply
  • Sort: 
avatar image
4

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

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
2

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

Comment
Add comment · Show 6 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Alesk · Oct 18, 2013 at 02:46 PM 0
Share

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...

avatar image Landkeeper86 · Oct 18, 2013 at 04:08 PM 0
Share

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

avatar image Alesk · Oct 18, 2013 at 04:30 PM 0
Share

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 ?

avatar image Landkeeper86 · Oct 18, 2013 at 05:06 PM 0
Share

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

avatar image Landkeeper86 · Oct 18, 2013 at 05:35 PM 0
Share

fantastic probably the app does same thing that i do manually, thanks

Show more comments
avatar image
1

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image ahsen35813 · Apr 27, 2020 at 01:27 PM 0
Share

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.

avatar image
1

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 ;)

link getlibs-all.zip

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image dansav · May 03, 2016 at 08:36 PM 1
Share

Does your friend happen to know how to set up an ubuntu aws instance to run unity?

avatar image dabdaddydarko · Feb 27, 2020 at 11:32 PM 1
Share

where could i find that link now in 2020

avatar image
0

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.

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image dabdaddydarko · Feb 27, 2020 at 07:02 PM 1
Share

where can one find this link?

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

21 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

How do you get a non-Experimental LTS version of Unity for the Unity Hub in Linux? 0 Answers

Unity3d Editor (and other tools) will available for linux? 1 Answer

Game crash on Ubuntu 2 Answers

Unity webplayer ubuntu 2 Answers

when for LINUX ?? 2 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges