OpenBSD Xenocara supports "dummy" driver for headless X? (wd support FB resizing, Xvfb does not)
I did not find any mentioning of OpenBSD Xenocara use of the "dummy"
video driver on mailing list nor web. Digging into code and
documentation, I think it looks like it's available and should work.
I'll try this out soon, this is mostly to mention the topic and to
check if anyone has any comments.
The idea is to run a dummy framebuffer X server which is resizeable,
as backend for X11Vnc. Support for dynamic resizing of the X
framebuffer, which is delivered through Xrandr by the VNC framebuffer
resize feature, is great when you VNC in from computers with different
The conventional way to resize the X framebuffer would be to restart
Xvfb(1) (http://man.openbsd.org/Xvfb.1) with the new resolution
specified as command line argument.
I got the idea of the existence of a dynamically resizeable virtual X
backend from the X11vnc's manual page (https://linux.die.net/man/1/x11vnc)
mentioning of the author's "Xdummy" script where "an advantage of
Xdummy over Xvfb is that Xdummy supports RANDR dynamic screen
The script's sourcecode is at http://www.karlrunge.com/x11vnc/Xdummy ,
X11vnc's manual goes on to say that it "only works on Linux", derp, and
the script has shellscript and C parts that seem to implement privilege
separation logics that OpenBSD already provides, and what it does
overall seems to be to generate the xorg.conf(5) configuration attached