File: README

package info (click to toggle)
nxcl 0.9-3.1
  • links: PTS
  • area: main
  • in suites: bullseye, buster, jessie, jessie-kfreebsd, sid, stretch, wheezy
  • size: 560 kB
  • ctags: 412
  • sloc: cpp: 3,149; makefile: 114
file content (83 lines) | stat: -rw-r--r-- 2,824 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83

  nxcl: A library for building NX clients.

  Seb James. July-September 2007. seb@esfnet.co.uk

Based on nxclientlib by George Wright, but with all dependencies on Qt
removed and the Qt build system replaced with GNU autotools.

doxygen is required if you want to build source documentation.

The library code is in nxcl-release/lib/. 

A binary, called nxcl - the "nxcl dbus daemon" is built in
nxcl-release/nxcl/. nxcl links to libnxcl and can negotiate an nx
connection.

nxcl-release/test/ contains some test programs. notQtTest tests some
of the features of the notQt classes in nxcl-release/lib/. libtest
is a simple command line NX client linking straight to the libnxcl
library. nxcmd is a second command line NX client, but it launches
nxcl, then sends session data there and allows nxcl to negotiate the
NX connection. This could be extended into quite a complete command
line NX client.

A GTK+ NX client called nxlaunch is distributed separately. Nxlaunch
uses the nxcl daemon, though it would be quite possible to write a GTK
client which links directly to the nxcl library. 

You should study nxcmd.cpp and nxlaunch if you are interested in
writing an NX client using a different widget system (say Windows, Qt,
Tk, etc) which uses the Nxcl dbus daemon.

Look at nxcl.cpp/h if you want to write an NX client which links
directly to libnxcl.

Building nxcl
-------------

Prerequisites are:

* libXcomp from NoMachine, provided by the nxcomp package.
* nxssh from NoMachine
* nxproxy from NoMachine

(These three NX components all should be from the 3.0.0 series. You can
obtain them from NoMachine's servers at http://www.nomachine.com/sources.php)

And (only) for the standalone dbus client you'll need:

* libdbus-1 - http://dbus.freedesktop.org/ Note that you'll need the dbus
daemon to be running to use the nxcl standalone binary, but NOT if you link
your client directly to libnxcl.so*

The D-Bus client can be disabled with the --without-nxcmd flag to configure.

If you have doxygen on your system, (imperfect) documentation will be
generated from the source header files.

Documentation can be disabled with the --without-doxygen flag to configure.

Compile and install libXcomp, nxssh and nxproxy following the instructions
in the readme file for each package. You can install the nxssh and nxproxy
in any of the following locations:

/bin
/usr/bin
/usr/local/bin
/usr/NX/bin
_or_ the same place that you will install the nxcl binary, determined from
your --prefix directive to the configure script.

If you checked out the svn code, you need to do:

autoreconf -is

to create the configure script (from configure.ac) and the Makefiles (from
the Makefile.am files).

Then configure, make and install in the usual way:

./configure [--enable-debug-output] [--prefix=/opt/myNXstuff]
make
make install