- Home /
Run Unity apps on Linux
Running CentOS 6 server. Tried running my server app using this way: http://answers.unity3d.com/questions/353653/can-a-unity-game-be-started-over-ssh.html
Here's what I'm getting though:
[root@xxx lobby]# xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:32' ./lobby -batchmode
Set current directory to /root/glorious/lobby
Found path: /root/glorious/lobby/lobby
Mono path[0] = '/root/glorious/lobby/lobby_Data/Managed'
Mono path[1] = '/root/glorious/lobby/lobby_Data/Mono'
Mono config path = '/root/glorious/lobby/lobby_Data/Mono/etc'
/usr/bin/xvfb-run: line 166: 1902 Aborted (core dumped) DISPLAY=:$SERVERNUM XAUTHORITY=$AUTHFILE "$@" 2>&1
Logfile:
[root@xxxlobby]# cat log.txt
Stacktrace:
Native stacktrace:
/root/glorious/lobby/lobby_Data/Mono/x86_64/libmono.so(+0x92c92) [0x7f554c97fc92]
/root/glorious/lobby/lobby_Data/Mono/x86_64/libmono.so(+0xd000d) [0x7f554c9bd00d]
/lib64/libpthread.so.0(+0xf500) [0x7f554f21a500]
./lobby() [0xb43892]
./lobby() [0xb2b2cd]
./lobby() [0xb2c1d4]
./lobby() [0xb46a11]
/lib64/libc.so.6(__libc_start_main+0xfd) [0x7f554e7f4cdd]
./lobby() [0x456669]
Debug info from gdb:
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Anyone got any ideas?
Your error message would indicate an issue with $$anonymous$$ono or the environment and not Unity itself. Good luck and Godspeed. I know nothing about Linux.
I am not expert and maybe is not related, but I run Unity game with no problems in Ubuntu as regular user (not as root) using command:
xvfb-run --auto-servernum --server-args='-screen 0 640x480x24:24' /game_location
(without -batchmode, I am not sure but looks -batchmode not meaning to run, but compile the app in background under Windows)
$$anonymous$$aybe the app is compiled for 32bit trying to run in 64bit? Tried as regular user?