- Home /
Linux Headless Mode checkbox in Build Settings
How to build a project for Linux from the command line with the "Headless Mode" checkbox in Unity "Build Settings"?
C:\Program Files (x86)\Unity\Editor\Unity.exe -quit -batchmode -nographics -projectPath "c:\myproj" -buildLinuxUniversalPlayer "c:\myprojbin"
-batchmode -nographics != "Headless Mode" checkbox in Unity "Build Settings"
Without X:
"Headless Mode" checkbox - don't crash
-batchmode or -nographics - crash
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612101244im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Headless Linux build 100% CPU usage 2019 vs 10% 2018 1 Answer
"Failed to initialize unity graphics" when running remotely (ssh -Y) 0 Answers
Run unity standalone in headless Ubuntu18.04 server with xvfb? 0 Answers
Headless Linux build via command line does not execute. Does work using Unity GUI. v5.3.4p6 0 Answers