This question already has an answer here:
I've tried to search this topic in google, but without any significant results.
I need to start some GUI app from terminal, but I don't care what this app is showing me. In addition, I need to start few instances of this application in different sessions. It's connected with some GUI automated tests, so I know what I want and I'm looking for an answer :).
I think the proper steps should be:
- Init new X window session
- Get my new session id
- export it to env variable (export DISPLAY:13.0)
- run my app
but I'm stuck at first step. does anybody here had similar problem?
--- EDIT: 1) I don't care about GUI output - i need only stdout and stderr from my app. - that's why this question is not duplicate - know google well :) . I don't want to redirect output to my own GUI.