[winswitch] profile.d not load
Antoine Martin
antoine at nagafix.co.uk
Tue Mar 31 10:18:27 BST 2020
On 30/03/2020 19:45, carl langlois via shifter-users wrote:
> Hi Alex,
>
> Thanks for the suggestions. I have tried your suggestions and here is what
> i can see.
>
> 1- with --start-child="xterm -ls"
> What i see is that only the xterm get the environment variable from
> profile.d . All other application from the Xpra menu does does get those
> variables. So does not work for me.
> 2- with --start-desktop
> This work but i dont't need and want the full desktop. In our
> infrastructure(Ovirt) some people use full desktop over Spice
> protocol(virt-viewer). and the others used Xpra for seamless integration.
>
> The only way i was able to make this work is to remote execute a ssh
> command like this "bash -l -c xpra start :display". For what i understand
> this work because the xpra server is started with a login shell and
> child process will get all the variables from profile.d.
There is now a better solution to this problem:
http://xpra.org/trac/ticket/2688#comment:1
This will be available in v4, which is due quite soon.
Cheers,
Antoine
> The only weird thing is that in Centos7 i never had this kind of problem.
> Not sure why Ubuntu have a different behavior.
>
> Thanks & Regards.
>
> cl
>
>
> On Mon, Mar 30, 2020 at 4:18 AM Berg, Alexander <alexander.berg at atos.net>
> wrote:
>
>> Hi Carl,
>>
>> I'm solving this by
>> --start-child="xterm -ls"
>> This starts an xterm with a login shell.
>>
>> You could also use a desktop-session like
>> xpra start-desktop ssh:user at server --start-child="startxfce4"
>> --exit-with-children
>>
>> Maybe there is a better workaround?
>>
>> With kind regards,
>> Alex
>>
>> -----Ursprüngliche Nachricht-----
>> Von: shifter-users <shifter-users-bounces at lists.devloop.org.uk> Im
>> Auftrag von carl langlois via shifter-users
>> Gesendet: Freitag, 27. März 2020 14:51
>> An: Xpra and Winswitch ML <shifter-users at lists.devloop.org.uk>
>> Betreff: [winswitch] profile.d not load
>>
>> Hi,
>>
>> I am currently having trouble getting some global variable to be load when
>> start xpra.
>>
>> I am using this command to start xpra from the client
>>
>> xpra start ssh:user at server
>>
>> Xpra does start correctly on the server and i can attach to it. But some of
>> the variable defined in the profile.d are not present.
>>
>> This is probably something related to interactive vs non-interactive
>> shell...
>> How can i make Xpra start with full login shell?
>>
>> Thanks
>> Regards
>> cl
>> _______________________________________________
>> shifter-users mailing list
>> 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
> https://lists.devloop.org.uk/mailman/listinfo/shifter-users
>
More information about the shifter-users
mailing list