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

Zenny garbytrash at gmail.com
Mon Nov 16 13:11:28 GMT 2015


On 11/16/15, Zenny <garbytrash at gmail.com> wrote:
> On 11/16/15, Antoine Martin <antoine at nagafix.co.uk> wrote:
>> On 16/11/15 19:17, Zenny wrote:
>>> On 11/16/15, Antoine Martin <antoine at nagafix.co.uk> wrote:
>>>> On 15/11/15 20:48, Zenny wrote:
>>>>> On 11/15/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

UPDATE: I started an xpra instance with the above command, but no xpra
sessions are listed:

$ xpra list
xpra initialization error:
 No xpra sessions found

The xpra_Xdummy command above displays following in the console:
http://hastebin.com/tudewavuxe.avrasm

Thanks,
/z

>
> Cheers,
> /z
>
>>> Is that underscore a typo?
>> No.
>>> Else let me know what I am missing? I am on v0.16.0-1 beta.
>> This  wrapper script may or may not be needed for running Xorg as a
>> non-root user.
>> In some cases, you may be able to just replace it with a plain "Xorg".
>>
>> Cheers
>> Antoine
>>
>>
>>
>>>
>>> Cheers,
>>> /z
>>>
>>>> Antoine
>>>>
>>>>>
>>>>>>> I checked Xdummy related to Ubuntu instruction at
>>>>>>> https://www.xpra.org/trac/wiki/Xdummy, but to no avail.
>>>>>> Are you using Xvfb or Xdummy? What distribution and version?
>>>>>>> Any hints would be highly appreciated. Thanks!
>>>>>> You may also be interested in the following 0.16 features:
>>>>>> * ability to NOT change the virtual display to match the client's
>>>>>> resolution using:
>>>>>> XPRA_RANDR=0 xpra start ...
>>>>>> See:
>>>>>> http://xpra.org/trac/changeset/11229
>>>>>> Shadow mode is A LOT less efficient than the regular "start" mode.
>>>>>> * desktop scaling, which allows you to upscale or downscale the
>>>>>> server
>>>>>> resolution when displayed on the client:
>>>>>> http://xpra.org/trac/ticket/976
>>>>>> So you could render at 4k and display at 2k for example (though the
>>>>>> main
>>>>>> purpose of this ticket is to do the opposite to save bandwidth).
>>>>>> * "sync-xvfb" fix for screen capture tools:
>>>>>> http://xpra.org/trac/ticket/988
>>>>>>
>>>>>> Cheers
>>>>>> Antoine
>>>>>>
>>>>>>> Cheers,
>>>>>>> /z
>>>>>>> _______________________________________________
>>>>>>> shifter-users mailing list
>>>>>>> shifter-users at lists.devloop.org.uk
>>>>>>> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>>>>>> _______________________________________________
>>>>>> shifter-users mailing list
>>>>>> shifter-users at lists.devloop.org.uk
>>>>>> http://lists.devloop.org.uk/mailman/listinfo/shifter-users
>>>>>>
>>>>
>>
>>
>



More information about the shifter-users mailing list