[FreeNX-kNX] GNOME problems fixed!

Fabian Franz FabianFranz at gmx.de
Wed Jul 13 00:15:12 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

GNOME problems are fixed in CVS now ...

If you need it with 0.4.1 change lines in nxnode:

2>>$FAKE_HOME/[...]

to

>>$FAKE_HOME/[...] 2>&1

GNOME did not start as it could not print its messages to stdout and nxnode 
does close stdin, stdout and stderr before starting applications.

Explanation:

2>>file means: append stderr to 'file'.
>>file means: append stdout to the file.
>>file 2>&1 means: append stdout to 'file' and redirect stderr to stdout, 
which points to file, so redirect stderr to 'file'
- -- AND:
2>&1 >>file means: Redirect stderr to stdout and append stdout to file (stderr 
is given on standard out in this example)

If you know C/C++ you can think of it as in pointers:

int *one, *two;

First example:

two=file;

Second;

one=file

Third:

one=file
two=one // means two = file

Fourth:

two=one
one=file

Perhaps this can be helpful to remember that the order _does_ matter.

cu

Fabian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFC1F0UI0lSH7CXz7MRAlzOAJ9N44wa8scYAhZLHAdBXLnqInIq0ACaAyoe
P/U7OG0WEcRF1acny39dP3Q=
=Fhue
-----END PGP SIGNATURE-----




More information about the FreeNX-kNX mailing list