7

I'm trying to use xvfb as a secondary screen, but I am struggling getting the two screens working together. xvfb does not seem to have the randr extension.

So is there another possibility to create a virtual screen that could be in dual-head mode together with my real screen?

0

3 Answers 3

3

Xnest does not support randr either. But Xephyr does.

3
  • How exactly do you think Xephyr can "extend" Display :0 with another "graphics device", that OP can position with xrandr relative to his existing screen? Could you elaborate? Dec 11, 2016 at 0:44
  • @AlexStragies See here: en.wikibooks.org/wiki/Multiseat_Configuration/Xephyr
    – ceving
    Dec 12, 2016 at 9:04
  • Xephyr is nice tech, true, but: The OP is not asking for a multi-seat configuration! → Not an answer (to this question). Dec 14, 2016 at 18:58
1

You could try using the xf86-video-dummy driver with Xorg to make the second screen.

1
  • 4
    This sounds like a viable idea. Have you tried it? If so, could you elaborate? I'm also following the subject of (hot-)adding virtual graphics devices (with virtual screens). And some details would really make this a better answer. Dec 14, 2016 at 19:02
0

Have you considered using Xnest? That works by creating a virtual X server that just proxies all of its incoming X protocol calls to the real X server. It also does not support randr, however, so you may want to consider removing your dependency on that (by switching to an alternate window manager or the like).

3
  • That looks good!I will look into using Xnest together with xinerama to archieve my goal. Stupid me: I thought Xnest only was for testing purposes in terms of creating a kind of jail for Xclients. Anyway, thank you very much!
    – twall
    Apr 28, 2011 at 20:54
  • How exactly do you think Xnest can "extend" Display :0 with another "graphics device", that OP can position with xrandr relative to his existing screen? Could you please elaborate? Dec 11, 2016 at 0:53
  • If you had asked me 5 years ago when this question was still fresh in my mind and I was using Xnest regularly, I might be able to answer...
    – fluffy
    Dec 11, 2016 at 1:34

You must log in to answer this question.