[FreeNX-kNX] startx won't start from xterm session
Fabian Franz
FabianFranz at gmx.de
Fri Apr 20 10:38:51 UTC 2007
> now if i put "fluxbox" in unix-custom-Settings-Running the following
> command is running pefectly, but i need to run and specific command, a
> wine aplication, something like... wine myaplication.exe.
Okay.
> Can you help me on that?
Yes, create a script and put it to a public place that does start your application, like /usr/bin/app.sh.
> If i select unix-custom-Settings-Running the default X client script
> on server i have a black window... i am a bit confuse, in node.conf
Yes, there seems to be no app for unix-default.
> if i set:
>
> DEFAULT_X_WM="fluxbox"
>
> black window again
You need to start a custom session (i.e. xterm or your app.sh, then DEFAULT_X_WM is used, not in the unix-default case.
Another idea is to put the following in app.sh (make it executable via chmod a+x):
--
#!/bin/sh
fluxbox &
wine C:\\myapp.exe
wait # wait for fluxbox to stop
--
or
--
#!/bin/sh
fluxbox &
PID=$!
wine C:\\myapp.exe
kill $PID # kill fluxbox after wine app is closed.
--
Then it starts both ...
cu
Fabian
More information about the FreeNX-kNX
mailing list