[winswitch] Connecting to Windows Server Container

Antoine Martin antoine at nagafix.co.uk
Tue May 21 04:22:20 BST 2019


On 21/05/2019 00:39, Mukul Agrawal wrote:
> Just to clarify, I am ok exposing entire windows desktop. I am not
> looking for seamless mode.
> 
> I just need a way to see graphics generated inside containers.  If
> container graphics can popup in host and then I can expose entire host
> desktop to temote client then that works for me.
Xpra cannot help you with that.

> Alternatively, what if I run xpra server inside container? Would I be
> able expose entire desktop of container?
It should be trivial to try: just run xpra after installing it and from
the GUI choose "start shadow server".
The system is made available on xpra's default TCP port (14500).
You can connect to this port using an xpra client, or even just using a
browser.

Cheers,
Antoine

> 
> 
> 
> Sent from Yahoo Mail on Android
> <https://go.onelink.me/107872968?pid=InProduct&c=Global_Internal_YGrowth_AndroidEmailSig__AndroidUsers&af_wl=ym&af_sub1=Internal&af_sub2=Global_YGrowth&af_sub3=EmailSignature>
> 
>     On Mon, May 20, 2019 at 7:52 AM, Antoine Martin
>     <antoine at nagafix.co.uk> wrote:
>     On 20/05/2019 07:59, Mukul Agrawal wrote:
>     > The application running inside Windows Server Container is a regular
>     > microsoft windows application.
>     > I am guessing it is not an X11 application because I didnt have to
>     > install any x server. It works natively on MS windows machines.
>     Then you won't be able to use xpra to expose it individually.
>     >
>     > I have played with XPRA on linux systems and linux container a little
>     > bit and I can get those to work.
>     > I was wondering if: (1) you have a distribution of xpra server
>     that can
>     > run on microsoft windows host machines
>     The regular xpra builds for MS Windows support running servers, but
>     those servers are just shadow servers: it allows you to access the whole
>     desktop all at once, not individual windows separately.
>     > and if it does then (2) if it is
>     > possible to for a windows server container running on that host to
>     send
>     > its graphics to the xpra server running on host (or running on sister
>     > container) instead of running inside container.   
>     No. MS Windows applications know nothing about X11.
> 
>     This question comes up regularly: it should be possible to improve xpra
>     to support seamless mode on MS Windows. But this would take a serious
>     amount of work.
> 
>     Cheers,
>     Antoine
> 
>     > From your answer, it looks like (2) may be possible. So main
>     question is
>     > if you have a MS windows version of xpra server?
>     >
>     >
>     >  
>     >
>     >
>     > Regards, Mukul ( https://sites.google.com/site/mukulagrawal )
>     >
>     >
>     > On Sunday, May 19, 2019, 10:16:22 AM PDT, Antoine Martin via
>     > shifter-users <shifter-users at lists.devloop.org.uk
>     <mailto:shifter-users at lists.devloop.org.uk>> wrote:
>     >
>     >
>     > On 19/05/2019 20:43, Mukul Agrawal via shifter-users wrote:
>     >> Dear XPRA team,
>     >> I have an application running on Windows Server container.Can I get
>     > the graphics generated in the container to a remote client using
>     novnc ?
>     > I will assume you mean xpra here.
>     > What sort of graphics? This an X11 application, right?
>     >> I can control how to start the container but prefer not to install
>     > anything inside container.I can install anything required on host that
>     > is running the container.
>     > I'm not 100% certain I understand what you're trying to do, but if you
>     > cannot install xpra in the container whose applications you are trying
>     > to expose, you can install xpra in another container and then
>     start your
>     > applications on the display started by the xpra server there. ie:
>     > DISPLAY=xpraserverIP:DISPLAYNO yourapp
>     > You will need to allow TCP connections to your X11 server, see
>     xhost and
>     > remove "-nolisten tcp" from xpra's default xvfb command.
>     > If you don't want to expose the X11 display over plain TCP, you
>     can use
>     > ssh display forwarding between the two containers.
>     > In any case, there are benefits to this approach: you can really
>     isolate
>     > your application by running it in a container with very limited
>     network
>     > access.
>     >
>     > Cheers,
>     > Antoine
>     >
>     >
>     >> Any pointers are appreciated.
>     >
>     >> _______________________________________________
>     >> shifter-users mailing list
>     >> shifter-users at lists.devloop.org.uk
>     <mailto:shifter-users at lists.devloop.org.uk>
>     > <mailto:shifter-users at lists.devloop.org.uk
>     <mailto:shifter-users at lists.devloop.org.uk>>
>     >> https://lists.devloop.org.uk/mailman/listinfo/shifter-users
>     >>
>     >
>     > _______________________________________________
>     > shifter-users mailing list
>     > shifter-users at lists.devloop.org.uk
>     <mailto:shifter-users at lists.devloop.org.uk>
>     > <mailto:shifter-users at lists.devloop.org.uk
>     <mailto:shifter-users at lists.devloop.org.uk>>
> 
>     > https://lists.devloop.org.uk/mailman/listinfo/shifter-users
>     >
> 



More information about the shifter-users mailing list