I am trying to get xpra running using the Xdummy driver and in following the examples on https://xpra.org/trac/wiki/Xdummy I tried the example there with this command. I suspect that it starts on a separate display because of the :10 at the end because it is not an example with attaches to an exiting xpra display.
Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./10.log -config ./xorg.conf :10
The first instance resulted in the error /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server which I fixed by changing allowed_users=console to allowed_users=anybody in /etc/X11/Xwrapper.conf.
The second trial resulted in the error:
Fatal server error:
(EE) parse_vt_settings: Cannot open /dev/tty0 (Permission denied)
Some web searching resulted in the suggestion to add needs_root_rights=yes to /etc/X11/Xwrapper.conf which enabled it to work.
Because the error message stated parse_vt_settings I tried add -novtswitch from the xorg man page (whose meaning I don't understand) to the command invocation but that made no difference. needs_root_rights was required.
Doesn't needs_root_rights=yes create a security risk?
/dev/tty0add yourself to thettygroup. Do NOT go around giving everything root privileges. In general, when you get permission issues, usels -lto find the group the "file"* belongs to and assign it to yourself. On UNIX, everything is a file ;-).