Ok I’ve got a Server running the very latest Ubuntu version. I have a RDP server running on it and I’ve got Remote Desktop displaying my Ubuntu desktop so everything is good… I’ve created a little Demo Application in Unity3D and exported it as a Linux project. I then uploaded it to my server and I am able to find it through my Remote Desktop connection. However when I double click on the exe it comes up asking me what application I want to run with it… How do we launch a Unity Linux game? I’m pretty much completely new to Ubuntu I’ve used a little tiny bit but not very much! Any help would be great!
Sounds like you need to set the file permissions properly so it’s recognized as an executable. If you build from OS X this is done automatically (since they are both Unix-based), but if you build from Windows then you’ll need to do it manually.
–Eric
Thank you for getting back to me. I went in a set the permission to allow it to run as an application and now nothing happens when I double click on it. Below is a screenshot showing what the permissions look like:
Any further help would be greatly appreciated… I have also tried running a windows build using wine. It complains that DirectX can’t be initialized. What I really want is to run the application using -batchmode would that still need to start DirectX and if not then how would I add the -batchmode command?
Unity Linux builds don’t use DirectX, which doesn’t exist on Linux.
–Eric
Yes it was a Windows Build using Wine that was complaining about DirectX…
The Linux Build when I set the permissions I can’t get to do anything… Nothing comes up, no crash reports, no Nothing…
Unfortunately I can’t really add anything else. Unity Linux builds launch without issues for me (booting into a Ubuntu live DVD), so I don’t know what else to do regarding troubleshooting.
–Eric
I got it working using a Windows Build with Wine and the -batchmode command. It’s working great as far as I can tell! We are able to login to our Client and everything appears to be working like it should…
The only thing I need to figure out now is how to get it to run with out having to be in a RDP session…
here is how to get it to run. go to propertys click on run as exeacutabl close proportys and dublel click the exe it shuild run as the game.
sorry for my spelling.
Hi guys, I also met exactly the same problem with @Eric5h5
So anyone can tell me how to run a unity built application on ubuntu RDP please?