[winswitch] Run an application inside an existing network namespace via xpra
Antoine Martin
antoine at nagafix.co.uk
Fri Dec 13 15:12:58 GMT 2019
On 13/12/2019 21:17, mail--- via shifter-users wrote:
> Is there a way to remotely start an application inside an existing
> namespace via xpra?
> E.g. given xpra start ssh/user at remote-host --start-child=firefox ->
> only firefox would need to run inside a network namespace (as if started
> with ip netns exec <namespace-name> firefox).
>
> As expected, running 'ip netns exec ...' as parameter of --start-child
> doesn't work (but it doesn't fail either, there's simply no window showing).
How do you run the "ip netns" command as a regular user?
It normally requires root. And you cannot run Firefox as root from a
user session.
> Any input would be appreciated!
I would run the commands from an xterm running inside xpra, then when
you find the incantation that does what you want, either script it or
add it as a --start-child= command.
Cheers,
Antoine
>
> Best regards
> Marco
More information about the shifter-users
mailing list