How can I execute UE4Editor on the command line as a different user than what is logged in?
This is on a Mac.
What I'm trying to do, is setup Jenkins to automate our builds. To test the configuration, I'm running the UE4Editor app on the command line as the Jenkins user.
It fails with the following error:
The exact same command above works when run as the normal, logged in user. It appears as though UE4Editor needs to run as the logged in user in order to access the graphics card or display? Is there a command line option or something we can do to work around this problem?
asked Jul 09 '14 at 03:30 PM in Packaging & Deployment
As UE4Editor is a regular, 'proper' Mac application and even in unattended mode we have to make AppKit calls it will require access to the WindowServer. This is the normal function of OS X and it is not something that can be easily changed (or possibly changed at all depending on what is actually causing the dependency) in UE4Editor. As such the UE4Editor needs to be run with an account logged in and under a user with sufficient privileges to access the WindowServer. Apparently whatever user Jenkins is using to launch the editor has insufficient privileges and hence it doesn't work.
answered Dec 09 '14 at 06:03 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here