- Home /
Question by
Ajingu · Jun 19, 2020 at 05:25 AM ·
crashlinuxubuntuadministrator
Unity apps on Ubuntu cannot be launched with administrative privileges
I want to run an Unity app on Linux with administrative privileges. But when I try to run an executable from Terminal as an administrator using the sudo command, the app shows "中止" and then crashes. "中止" means "Interrupted" or "Abort".
<hostname>@<pcname>:~$ sudo //path/to/project/Build/Test.x86_64
Found path: //path/to/project/Build/Test.x86_64
中止
What's the problem? Or is there another way to run an Unity app on Ubuntu with administrative privileges? As long as I can run it with admin privileges, it doesn't matter if it's from an Editor or a built app.
Environments:
・Unity Hub 2.3.2
・Unity 2019.3.15f1
・Ubuntu 20.04 LTS
Comment
Your answer
Follow this Question
Related Questions
How do I debug a Linux crash? 1 Answer
SIGABRT crash while running standalone Linux app 2 Answers
Game crash on Ubuntu 2 Answers
I'm having problems with running my game on Ubuntu/Linux. 2 Answers