Brendan Perrine wrote on 11/09/2015 11:22 PM:
> On Mon, 9 Nov 2015 22:29:05 +0100
> "U.Mutlu" <for-gm...@mutluit.com> wrote:
>
>> I need to start from a script or a program 2 processes in sequential order.
>> The first process is lxterminal and the second is say leafpad. If I do so:
>>     lxterminal
>>     leafpad
>> then both start at the same time.
>> How can I get them start only sequentially?
>> (ie. the second shall start only after the first has exited)
>>
>> The culprit is lxterminal as it behaves non-standard by starting somehow 
>> detached.
>>
>> I think lxterminal should have a cmdline option for this scenario.
>>
>> How does qterminal behave in this situation?
>>
>>
> What are you running the script from lxterminal? I think this might be
> because of lxterminal now being built as a singleton gtk application which
> I think was to save memory on older hardware but I am not sure. I can
> reproduce the bahvior you are describing if I run the script from
> lxterminal but do not in sakura, another terminal emulator.

I'm working on a privacy & security solution of mine for starting
all major desktop applications (webbrowser(s), vlc, mailclient,
a private shell via unshare, etc.) under different user accounts
(all my own accts) at the same time and all sharing the one desktop
(using classic LXDE from the Debian 8 repo).
It's a kind of privilege seperation.
This is done via standard *.desktop files and a small cmdline program
named "runas" I wrote recently in C++. In that pgm the user gets switched
(hence runas) and the app is started under the given user credentials.
It works good, but the solution is IMHO not for Average Joe, because
it opens a (control-) terminal per application plus the application itself (by 
this, one also sees the control outputs the app writes),
and one has to enter the account-password before starting the
application (ie. many accounts and passwords to enter, remember,
and to manage...).
The accounts are secured, ie. others have no access (chmod o= acct).
It's like putting the applications into containers, but IMO this
method is much easier than real containers.
If the prj gets finished soon I'll make it available for other interessted 
users.

The said poblem arose when I wanted to start more than one instance of
such a program solution. Then the second terminal simply quits before
waiting for its child. But the lxterminal author has now posted a fix
against this behaviour.




------------------------------------------------------------------------------
_______________________________________________
Lxde-list mailing list
Lxde-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxde-list

Reply via email to