Search Unity

Trying Virtual Display run Unity(2017.1) binary app on ubuntu ?

Discussion in 'Linux' started by muyichun, Aug 15, 2017.

  1. muyichun

    muyichun

    Joined:
    Nov 16, 2016
    Posts:
    4
    Terminal:
    when I run Unity5.4.3 binary app, the result is right:
    ➜ bin2017 ../bin/engine.x86_64
    Set current directory to /home/zf/studio/bin2017
    Found path: /home/zf/studio/bin2017/../bin/engine.x86_64
    Mono path[0] = '/home/zf/studio/bin2017/../bin/engine_Data/Managed'
    Mono path[1] = '/home/zf/studio/bin2017/../bin/engine_Data/Mono'
    Mono config path = '/home/zf/studio/bin2017/../bin/engine_Data/Mono/etc'
    displaymanager : xrandr version warning. 1.5
    displaymanager : trying .X11-unix
    client :0 has 1 screens
    displaymanager screen (0): 1920 x 1080
    client :11 has 1 screens
    displaymanager screen (1): 1920 x 1080
    Using libudev for joystick management

    Importing game controller configs

    when I run Unity2017.1 binary app, the result is wrong:
    ➜ bin2017 ./engine.x86_64
    Set current directory to /home/zf/studio/bin2017
    Found path: /home/zf/studio/bin2017/engine.x86_64
    Mono path[0] = '/home/zf/studio/bin2017/engine_Data/Managed'
    Mono config path = '/home/zf/studio/bin2017/engine_Data/Mono/etc'
    Preloaded 'ScreenSelector.so'
    Player data archive not found at `/home/zf/studio/bin2017/engine_Data/data.unity3d`, using local filesystem
    [1] 4280 abort (core dumped) ./engine.x86_64

    why don't run Unity2017.1 without headless on ubuntu?
    I use xinit.
    The command is:
    /etc/X11/xorg.conf
    sudo xinit -- :11 vt7 -novtswitch
    etc.