[winswitch] issue with forwarding x to a lower res monitor from a virtual Xvfb

Zenny garbytrash at gmail.com
Mon Nov 16 16:12:43 GMT 2015

On 11/16/15, Antoine Martin <antoine at nagafix.co.uk> wrote:
>>>>>>>>>>>> I have tested here with Xdummy and that worked fine.
>>>>>>>>>>> Can you share your Xdummy command if different from the one in
>>>>>>>>>>> the
>>>>>>>>>>> wiki?
>>>>>>>>>> I am using the one that gets generated in the xpra.conf like so:
>>>>>>>>>> export DISPLAY=:10
>>>>>>>>>> xpra_Xdummy -noreset -nolisten tcp +extension GLX +extension
>>>>>>>>>> RANDR
>>>>>>>>>> +extension RENDER -auth $XAUTHORITY -logfile
>>>>>>>>>> ${HOME}/.xpra/Xorg.${DISPLAY}.log -configdir
>>>>>>>>>> ${HOME}/.xpra/xorg.conf.d
>>>>>>>>>> -config /etc/xpra/xorg.conf $DISPLAY
>>>>>>>>> Thanks for sharing, but ould not figure out 'xpra_Xdummy' :
>>>>>>>> http://xpra.org/trac/browser/xpra/trunk/src/scripts/xpra_Xdummy
>>>>>>> Thanks for very useful pointer:
>>>>>>> But how to specify the screen resolution with xpra_Xdummy (as you
>>>>>>> have
>>>>>>> suggested as quoted below)? In my case I need 4K in the virtual x
>>>>>>> server in server and 1K in the client, fyi
>>>>>>> export DISPLAY=:10
>>>>>>> xpra_Xdummy -noreset -nolisten tcp +extension GLX +extension RANDR
>>>>>>> +extension RENDER -auth $XAUTHORITY -logfile
>>>>>>> ${HOME}/.xpra/Xorg.${DISPLAY}.log -configdir
>>>>>>> ${HOME}/.xpra/xorg.conf.d
>>>>>>> -config /etc/xpra/xorg.conf $DISPLAY
>>>> Use xrandr to change the resolution.
>> How to make changes in the virtual X server with xrandr. It could be
>> possible with xrandr, however my requirement is 4K in the server while
>> displaying the same content in FullHD or lower in the clients. It is a
>> bit confusing how to use xrandr to get two different resolutions in
>> server and client! Would you mind elaborating?
> Using xrandr to change resolutions can be useful in two cases:
> * you start the Xvfb yourself and use xpra in shadow mode, in this case
> xpra does not try to change the resolution for you
> * you tell xpra not to do randr (with XPRA_RANDR=0)

Yep, that could be a way to go since Xdummy does not work in Ubuntu 14.04.

> If you are certain that you will only need a single resolution, then you
> could also use a customized xorg.conf
> The "desktop-scaling" option in 0.16 looks easier to me than either of
> those options.

any man pages about desktop-scaling?

> That's assuming that you are using Xdummy. If you use Xvfb, then this is
> all moot.
> Cheers
> Antoine

More information about the shifter-users mailing list