[FreeNX-kNX] Starting a second application within an already established session
Terje Andersen
terander at guard.zapto.org
Wed Feb 27 15:18:50 UTC 2008
----- Melding fra Bernhard.Donaubauer at bayerwald-online.com ---------
Dato: Wed, 27 Feb 2008 13:52:15 +0100
Fra: Bernhard Donaubauer <Bernhard.Donaubauer at bayerwald-online.com>
Svar-til: User Support for FreeNX Server and kNX Client <freenx-knx at kde.org>
Emne: Re: [FreeNX-kNX] Starting a second application within an
already established session
Til: User Support for FreeNX Server and kNX Client <freenx-knx at kde.org>
> Am Mittwoch, 27. Februar 2008 13:31:00 schrieb Terje Andersen:
>> Bernhard.Donaubauer at bayerwald-online.com wrote:
>> > I am testing freenx in combination with nomachine's client
>> > application. Almost
>> > everthing is fine. I use the client to start an xterm on my linux server
>> > by clicking the icon on the desktop created by the nomachines's wizard.
>> > When I click it a second time the already created session with my xterm
>> > is reconnected but I want a second xterm.
>> >
>> > So my question is - how can I start a second X - application within a
>> > rootless/multipleWindowMode session?
>>
>> You need change some configuration directives in node.conf (normally
>> in /etc/nxserver/). Take a look inside and you will find that all the
>> directives are well-documented, and you should be able to control this
>> feature according to your needs.
>
> Hm - I searched the configuration file for useful parameters but I have no
> idea which one you mean.
>
When I reread you initial question it seems I didn't catch the
question completely... ;)
You don't want to control the resume functionality - you want to be
able to start a second xterm into the same session that the first
xterm is running.
I haven't tested this myself and I can see that this can be a challenge.
A simple solution to this is to create another connection profile
(just change the name in the NXClient window and it will ask what to
do) that you name something different than you initial/first session.
This will give you another xterm window, but probably in another
session, and therefore will not do what you are asking.
The way I've seen people report that they use the rootless mode (when
in need of several windows), is that they start their applications
from the xterm window which then will be started inside the same
session. Another solution is to create a serverside script that does
this for you, and start this script instead of the xterm (defined in
the client).
I was thinking of the ENABLE_AUTOCONNECT directive in the node.conf
file, but that doesn't answer you initial question I'm afraid...
/Terje
More information about the FreeNX-kNX
mailing list