-
Notifications
You must be signed in to change notification settings - Fork 5
/
INSTALL
116 lines (73 loc) · 2.23 KB
/
INSTALL
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
INTRODUCTION
------------
This is the FreeNX server package.
DEPENDENCIES
------------
It depends on:
- NX sources
- X11 libraries
- sshd
- expect
- netcat
NOTE
----
This tarball is intented mainly for distributions, which want to use FreeNX as building the other OpenSource NX components is quite difficult.
In the following sections it is outlined how to install FreeNX as soon as you've build all open source components.
HOWTO MANUALLY INSTALL
----------------------
The easy way:
See: http://mail.kde.org/pipermail/freenx-knx/2007-October/006041.html
The real way:
You must apply the gentoo-nomachine.diff and then copy the files to /usr/NX/bin and /usr/NX/lib.
Here is a howto:
Get all sources except nx-X11-compat.tar.gz from www.nomachine.com/sources.php
Untar all sources, install all dependencies then do:
$ cd nx-X11
$ make World
$ cd ..
$ cd nxproxy
$ ./configure && make
# Libraries
You can use the following schema to do the install to /usr/NX/:
$ NXPREFIX=/usr/NX
$ mkdir -p ${NXPREFIX}/lib ${NXPREFIX}/bin
$ cp -a nx-X11/lib/X11/libX11.so* ${NXPREFIX}/lib
$ cp -a nx-X11/lib/Xext/libXext.so* ${NXPREFIX}/lib
$ cp -a nx-X11/lib/Xrender/libXrender.so* ${NXPREFIX}/lib
$ cp -a nxcomp/libXcomp.so* ${NXPREFIX}/lib
$ cp -a nxcompext/libXcompext.so* ${NXPREFIX}/lib
# binaries
$ cp -a nx-X11/programs/Xserver/nxagent ${NXPREFIX}/bin
$ cp -a nxproxy/nxproxy ${NXPREFIX}/bin
### Now comes the FreeNX part
# build binaries and libs included in FreeNX distribution
$ cd freenx-<version>
$ patch -p0 < gentoo-nomachine.diff
$ make
$ make install
You should also install the nxclient from NoMachine or install Xdialog.
Then you need to run 'nxsetup --install' and follow the instructions given.
Have Fun!
Best regards,
Fabian
--
Old way without Makefile (instead of make; make install):
# nxredir
$ cd nxredir
$ make
$ cd ..
# nxpasswd
$ cd nxviewer-passwd
$ xmkmf
$ make World
$ cd ..
# install binaries included in FreeNX trunk
$ cd nxredir
$ make install
$ cd ..
$ cp -a nxviewer-passwd/nxpasswd/nxpasswd ${NXPREFIX}/bin
# scripts
$ cp nx* ${NXPREFIX}/bin
# config file
$ cp -a freenx*/node.conf.sample ${NXPREFIX}/etc/
SVN: $Id: INSTALL 536 2008-03-27 18:54:08Z fabianx $