[winswitch] VDI-Netes

Louis Mulder louis.mulder at sue.nl
Sat Feb 22 09:13:50 GMT 2020


Hi All

I changed the proxy-code a little bit on such away the original Xpra
setup will still runs as before
With this change and an extra piece of python code placed in
.../xpra/scripts -- exec_cmd.py you can run the proxy-server as ingress
server under Kubernetes. Exec_cmd will do an Popen it sends username
and send the display as variables to this script.

Call from client for example -- 
  xpra attach ssh://xpra-alien@srvname:443/seamless

  Scripts gets the strings:
  USERNAME=xpra-alien
  XPRA_POD_DISPLAY=seamless

  Script will first look for a pod with the name:
     xpra-alien-seamless if it is running it send backs a CSV
     containing uid|gid|NA|tcp:<ip-addr of pod>:14500|||

If pod is not running it use kubectl to create one with xpra start
session. When Xpra displays xpra is ready it will write a string to a
file in the pod (CSV). And returns this string to the caller. (proxy)

At the KubeCon 2020 I will a demonstration how to run secure
steppingstones and other VDI related running Xpra pods.

Kindly regards 
Louis





More information about the shifter-users mailing list