4

xvfb-run allows me to open a display and run a graphical app and when the app finishes xvfb closes too.

for example

xvfb-run --auto-servernum --server-args="-screen 0, 1920x1080x24" nw script.js 

is there a way to do this with xpra and xdummy?

current it requires to run 2 commands:

  • xpra start :100 but only once
  • DISPLAY=:100 vglrun nw script.js

basically I want to start the display, run my app, wait for it to close, close the display with a single command...

1 Answer 1

1
xpra start :100 --start-child="your-command" --exit-with-children 
1

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.