[winswitch] xpra list is empty immediately after xpra start
Antoine Martin
antoine at nagafix.co.uk
Fri Sep 20 07:46:02 BST 2013
On 20/09/13 13:39, Thomas Koch wrote:
> Hi,
>
> I've made a script that is called on every ssh login to my virtual machine. It
> tests whether xpra is running (via xpra list) and if not it starts xpra and
> immediately afterwards it runs xpra list to parse the value that should be
> assigned to $DISPLAY.
>
> It's always(?) the case, that xpra list does not show the just started
> instance but prints an empty list.
>
> Do you consider this a bug? Maybe you could add an option to xpra start that
> it should only return once everything is set up so that xpra list finds the
> instance?
This is not considered a bug at present and is probably not (easily)
fixable either.
That's because servers daemonize before setting up everything.
> While I'm at it: It would be nice to have a shell parsable output of xpra
> list, e.g. separated by tabs without indentation.
Parsing spaces isn't difficult, and changing the output may break
existing scripts..
Antoine
More information about the shifter-users
mailing list