]>
Commit | Line | Data |
---|---|---|
925ac753 | 1 | diff -Nur freenx-server-0.7.2.orig/node.conf.sample freenx-server-0.7.2.freenx-node-conf/node.conf.sample |
596bde90 | 2 | --- freenx-server-0.7.2.orig/node.conf.sample 2008-03-14 15:47:47.000000000 -0600 |
3 | +++ freenx-server-0.7.2.freenx-node-conf/node.conf.sample 2008-08-17 15:54:20.000000000 -0600 | |
925ac753 | 4 | @@ -460,7 +460,13 @@ |
3383fdc5 | 5 | |
6 | # The key that contains the name of the complete path of command name | |
7 | # 'xauth'. | |
8 | -#COMMAND_XAUTH=/usr/X11R6/bin/xauth | |
9 | +COMMAND_XAUTH=xauth | |
10 | + | |
11 | +COMMAND_XSET=xset | |
12 | + | |
13 | +COMMAND_XMODMAP=xmodmap | |
14 | + | |
15 | +COMMAND_XKBCOMP=xkbcomp | |
16 | ||
17 | # The key that contains the name of the complete path of command name | |
18 | # 'smbmount'. | |
925ac753 | 19 | @@ -479,7 +485,7 @@ |
f3222b33 | 20 | #COMMAND_SMBUMOUNT_CIFS=/sbin/umount.cifs |
3383fdc5 | 21 | |
22 | # The key that contains the name of the complete path of the 'netcat' command. | |
23 | -#COMMAND_NETCAT=netcat | |
24 | +COMMAND_NETCAT=nc | |
25 | ||
26 | # The key that contains the name of the complete path of the 'ssh' and | |
27 | # 'ssh-keygen' command. | |
925ac753 | 28 | @@ -545,7 +551,7 @@ |
3383fdc5 | 29 | # for examples of useful parameters. |
30 | #AGENT_EXTRA_OPTIONS_RFB="" | |
31 | #AGENT_EXTRA_OPTIONS_RDP="" | |
32 | -#AGENT_EXTRA_OPTIONS_X="" | |
46443202 | 33 | +AGENT_EXTRA_OPTIONS_X="-fp /usr/share/fonts/misc/,/usr/share/fonts/100dpi/,/usr/share/fonts/75dpi/,/usr/share/fonts/Type1/,/usr/share/fonts/TTF/" |
3383fdc5 | 34 | |
35 | # The number of seconds we wait for the nxagent to start before | |
36 | # deciding startup has failed | |
925ac753 | 37 | @@ -567,6 +573,8 @@ |
c20b7896 | 38 | # Extra options to nxproxy. See !M documentation for useful parameters. |
39 | #PROXY_EXTRA_OPTIONS="" | |
f3222b33 | 40 | |
46443202 | 41 | +APPLICATION_LIBRARY_PRELOAD="/usr/lib/libX11-nx.so.6:/usr/lib/libXext-nx.so.6:/usr/lib/libXcomp.so.2:/usr/lib/libXcompext.so.2:/usr/lib/libXrender-nx.so.1" |
f3222b33 BZ |
42 | + |
43 | # In case you want to use an external 'rdesktop' command | |
44 | # set this to "1". | |
45 | # | |
925ac753 | 46 | diff -Nur freenx-server-0.7.2.orig/node.conf.sample.orig freenx-server-0.7.2.freenx-node-conf/node.conf.sample.orig |
596bde90 | 47 | --- freenx-server-0.7.2.orig/node.conf.sample.orig 1969-12-31 17:00:00.000000000 -0700 |
48 | +++ freenx-server-0.7.2.freenx-node-conf/node.conf.sample.orig 2008-08-17 15:54:20.000000000 -0600 | |
925ac753 | 49 | @@ -0,0 +1,585 @@ |
50 | +# node.conf | |
51 | +# | |
52 | +# This file is provided by FreeNX. It should be placed either into | |
53 | +# /etc/nxserver/node.conf (FreeNX style) or /usr/NX/etc/node.conf | |
54 | +# (NoMachine NX style). | |
55 | +# | |
56 | +# It is mostly compatible with NoMachine node.conf. The most important | |
57 | +# difference is that no spaces are allowed when assigning values (eg | |
58 | +# "A=value" is allowed, "A = value" is NOT). | |
59 | +# | |
60 | +# This file is sourced by bash, so you can do some fancy stuff here if you | |
61 | +# want to, but be aware that it is sourced 3 times per connection. If you | |
62 | +# want autostart stuff, set NODE_AUTOSTART instead! | |
63 | +# | |
64 | +# | |
65 | +# You surely are aware that FreeNX is based on the fantastic results that | |
66 | +# the hard work by NoMachine.com has achieved. NoMachine.com released the | |
67 | +# core NX libraries under the GPL. The installation of these libs are the | |
68 | +# precondition for all FreeNX scripts to work. If you are installing this | |
69 | +# software with the help of one of the package management tools of your | |
70 | +# Linux distribution, you can assume that this dependency is taken care of | |
71 | +# by the tool. | |
72 | +# | |
73 | +# You have questions about the inner workings of the NX technology? | |
74 | +# | |
75 | +# Then you are recommended to first check out the rich and very detailed | |
76 | +# NoMachine documentation and their online Knowledge Base at | |
77 | +# | |
78 | +# http://www.nomachine.com/kb/ | |
79 | +# | |
80 | +# Other sources of information are the NoMachine mailing lists | |
81 | +# (nxusers@nomachine.com and nxdevelopers@nomachine.com): | |
82 | +# | |
83 | +# http://www.nomachine.com/mailinglists.php | |
84 | +# | |
85 | +# The FreeNX (freenx-knx@kde.org) list is here: | |
86 | +# | |
87 | +# https://mail.kde.org/mailman/listinfo/freenx-knx | |
88 | +# | |
89 | +# SVN: $Id$ | |
90 | + | |
91 | +######################################################################### | |
92 | +# General FreeNX directives | |
93 | +######################################################################### | |
94 | + | |
95 | +# The host name which is used by NX server. It's should be used if it's | |
96 | +# different than the default hostname (as returned by `hostname`) | |
97 | +#SERVER_NAME="$(hostname)" | |
98 | + | |
99 | +# The port number where local 'sshd' is listening. | |
100 | +#SSHD_PORT=22 | |
101 | + | |
102 | + | |
103 | +######################################################################### | |
104 | +# Authentication / Security directives | |
105 | +######################################################################### | |
106 | + | |
107 | +# Authentication directives | |
108 | + | |
109 | +# This adds the usermode to the possible authentication methods | |
110 | +# Usermode means that a user can start the nxserver as his shell | |
111 | +# and connect directly to the right server via a custom client. | |
112 | +#ENABLE_USERMODE_AUTHENTICATION="0" | |
113 | + | |
114 | +# This adds the passdb to the possible authentication methods | |
115 | +#ENABLE_PASSDB_AUTHENTICATION="1" | |
116 | + | |
117 | +# This adds SSH to the possible authentication methods. For it to work sshd | |
118 | +# must be set up at localhost accepting password authentication. | |
119 | +#ENABLE_SSH_AUTHENTICATION="1" | |
120 | + | |
121 | +# This adds SU to the possible authentication methods. For it to work the | |
122 | +# "nx" user must be in the wheel (RedHat, Fedora) or the users group (SUSE) | |
123 | +# and the user logging in must have a valid shell that accepts the -c | |
124 | +# parameter. | |
125 | +#ENABLE_SU_AUTHENTICATION="0" | |
126 | + | |
127 | +# Require all users to be in the passdb, regardless of authentication method | |
128 | +#ENABLE_USER_DB="0" | |
129 | + | |
130 | + | |
131 | +# If enabled forces the user to use encryption. This will bail out | |
132 | +# if the user does not have encryption enabled. | |
133 | +#ENABLE_FORCE_ENCRYPTION="0" | |
134 | + | |
135 | +# Refuse the NX client connection if SSHD does not export the | |
136 | +# SSH_CONNECTION and SSH_CLIENT variables in the environment | |
137 | +# passed to the NX server. | |
138 | +# 1: Will check the remote IP and will not accept the | |
139 | +# connection if it can't be determined. | |
140 | +# 0: Will accept the connection even if the remote IP | |
141 | +# is not provided. | |
142 | +#SSHD_CHECK_IP="0" | |
143 | + | |
144 | +# If ENABLE_SLAVE_MODE="1" the user will be just logged in _once_ and the | |
145 | +# communication is done via nxnode slave mode. | |
146 | +# | |
147 | +# This is useful for one time passwords or to have less traffic in utmp | |
148 | +# and wtmp. | |
149 | +# | |
150 | +# Also session startup times are much faster in slave mode. This is true especially | |
151 | +# if many printers or shares have to be added. | |
152 | +# | |
153 | +# For this to work the binary nxserver-helper has to be installed in | |
154 | +# PATH_BIN. | |
155 | +# | |
156 | +#ENABLE_SLAVE_MODE="0" | |
157 | + | |
158 | +######################################################################### | |
159 | +# Restriction directives | |
160 | +######################################################################### | |
161 | + | |
162 | +# The base display number from which sessions are started. | |
163 | +#DISPLAY_BASE=1000 | |
164 | + | |
165 | +# The maximum number of contemporary sessions that can be run on FreeNX | |
166 | +#SESSION_LIMIT=200 | |
167 | + | |
168 | +# The maximum number of contemporary sessions that a single user can run | |
169 | +# on FreeNX. Defaults to the value of SESSION_LIMIT. | |
170 | +#SESSION_USER_LIMIT=200 | |
171 | + | |
172 | +# The number of displays reserved for sessions, it has to be greater or equal | |
173 | +# to the maximum number of contemporary sessions that a server can run. | |
174 | +#DISPLAY_LIMIT=200 | |
175 | + | |
176 | + | |
177 | +# User for which sessions should be persistent. Either the keyword "all" or a | |
178 | +# comma-separated list of usernames or groups in the @groupname syntax. | |
179 | +#ENABLE_PERSISTENT_SESSION="all" | |
180 | + | |
181 | +# Users and groups for whom persistent sessions should be disabled. | |
182 | +# Especially useful if ENABLE_PERSISTENT_SESSION="all" | |
183 | +#DISABLE_PERSISTENT_SESSION="" | |
184 | + | |
185 | +# This enables the mirroring of running sessions via VNC feature. | |
186 | +# | |
187 | +# Session is marked as resumable and type is vnc-mirrored. | |
188 | +# | |
189 | +#ENABLE_MIRROR_VIA_VNC=1 | |
190 | + | |
191 | +# This enables the sharing of :0 via VNC feature. | |
192 | +# | |
193 | +# Session is marked as resumable and type is vnc-local. | |
194 | +# | |
195 | +# Note: You need to have the rights to access the display | |
196 | +# else it does not work. | |
197 | +# | |
198 | +#ENABLE_DESKTOP_SHARING=1 | |
199 | + | |
200 | +# | |
201 | +# Enable or disable clipboard: | |
202 | +# | |
203 | +# client: The content copied on the client can be pasted inside the | |
204 | +# NX session. | |
205 | +# | |
206 | +# server: The content copied inside the NX session can be pasted | |
207 | +# on the client. | |
208 | +# | |
209 | +# both: The copy&paste operations are allowed both between the | |
210 | +# client and the NX session and vice-versa. | |
211 | +# | |
212 | +# none: The copy&paste operations between the client and the NX | |
213 | +# session are never allowed. | |
214 | +# | |
215 | +#ENABLE_CLIPBOARD="both" | |
216 | + | |
217 | + | |
218 | +# | |
219 | +# Enable or disable the pulldown dialog, which provides a graphical | |
220 | +# way to suspend or terminate the rootless session: | |
221 | +# | |
222 | +# 1: Enabled. The pulldown menu is shown when the mouse pointer | |
223 | +# moves near the middle of the top boundary of a window and | |
224 | +# allows the user to suspend or terminate the session by means | |
225 | +# of an icon-click. | |
226 | +# | |
227 | +# 0: Disabled. The ctrl+alt+T key combination has to be issued | |
228 | +# to get the dialog for suspending or terminating the session. | |
229 | +# | |
230 | +#ENABLE_PULLDOWN_MENU="1" | |
231 | + | |
232 | + | |
233 | +# The option USE_PROCESSOR_TASKSET is for setting the CPU affinity of all | |
234 | +# nx related processes. | |
235 | +# | |
236 | +# Note: To have for example startkde run on even another core, just specify: | |
237 | +# | |
238 | +# COMMAND_STARTKDE="taskset -c 2 -- startkde" | |
239 | +# | |
240 | +# FreeNX runs this option like: $COMMAND_TASKSET -cp "$USE_PROCESSOR_TASKSET" $$ | |
241 | +# | |
242 | +# So with $USE_PROCESSOR_TASKSET set to 3,4 it would balance the tasks to cores | |
243 | +# 3 and 4. | |
244 | +# | |
245 | +# If this option is empty, no balance to cores is done. | |
246 | +# | |
247 | +#USE_PROCESSOR_TASKSET="" | |
248 | + | |
249 | +# If you set ENABLE_ADVANCED_SESSION_CONTROL="1" you can start a new application in an already | |
250 | +# running rootless session by using "add <rest of name>" as session name. | |
251 | +# | |
252 | +# Note: The client will return a message on that. | |
253 | +# | |
254 | +#ENABLE_ADVANCED_SESSION_CONTROL="0" | |
255 | + | |
256 | +# If you set ENABLE_SHOW_RUNNING_SESSIONS="0" then nxserver will only show | |
257 | +# suspended sessions and you will not be able to resume or terminate a running | |
258 | +# session. | |
259 | +# | |
260 | +#ENABLE_SHOW_RUNNING_SESSIONS="1" | |
261 | + | |
262 | +######################################################################### | |
263 | +# Logging directives | |
264 | +######################################################################### | |
265 | + | |
266 | +# This directives controls the verbosity of the server-wide log. | |
267 | +# 0: No Logging | |
268 | +# 1: Errors | |
269 | +# 2: Warnings | |
270 | +# 3: Important information | |
271 | +# 4: Server - Client communication | |
272 | +# 5: Information | |
273 | +# 6: Debugging information | |
274 | +# 7: stderror of some applications | |
275 | +#NX_LOG_LEVEL=0 | |
276 | + | |
277 | +# By setting this to 0 the nxserver might be a bit faster, but passwords can be found in the log files. | |
278 | +#NX_LOG_SECURE=1 | |
279 | + | |
280 | +# Before turning logging on, please make sure that NX_LOGFILE is | |
281 | +# writeable for the "nx" user | |
282 | +#NX_LOGFILE=/var/log/nxserver.log | |
283 | + | |
284 | +# This directive controls if the temporary session directory | |
285 | +# ($HOME/.nx/C-<hostname>-<display>-<session_id>) should be kept after a | |
286 | +# session has ended. A successfully terminated session will be saved as | |
287 | +# T-C-<hostname>-<display>-<session_id> while a failed session will be saved | |
288 | +# as F-C-<hostname>-<display>-<session_id>. | |
289 | +# The default is to cleanup the directories. | |
290 | +#SESSION_LOG_CLEAN=1 | |
291 | + | |
292 | +# Amount of seconds nxserver is to keep session history. The default of 2592000 | |
293 | +# is equivalent to 30 days. If this is 0 no session history will be kept | |
294 | +# and a negative value denotes infinity. | |
295 | +#SESSION_HISTORY=2592000 | |
296 | + | |
297 | + | |
298 | +######################################################################### | |
299 | +# Forwarding directives | |
300 | +######################################################################### | |
301 | + | |
302 | +# FreeNX with ENABLE_SERVER_FORWARD="1" will automatically forward all | |
303 | +# connections to the host specified in SERVER_FORWARD_HOST with the | |
304 | +# secret key SERVER_FORWARD_KEY. | |
305 | +# | |
306 | +# This allows to have a "chain" of NX Servers. Note that you will need to | |
307 | +# use "SSL encryption" for all connections. | |
308 | + | |
309 | +#ENABLE_SERVER_FORWARD="0" | |
310 | +#SERVER_FORWARD_HOST="" | |
311 | +#SERVER_FORWARD_PORT=22 | |
312 | +#SERVER_FORWARD_KEY="/usr/NX/share/client.id_dsa.key" | |
313 | + | |
314 | + | |
315 | +# FreeNX with ENABLE_NOMACHINE_FORWARD_PORT="1" will automatically forward all | |
316 | +# connections to the commercial NoMachine nxserver installed on the same | |
317 | +# machine, which go in by port NOMACHINE_FORWARD_PORT. This feature is introduced | |
318 | +# to enable the usage of FreeNX and NoMachine NX side by side on the same machine | |
319 | +# without conflicts. | |
320 | +# | |
321 | +# Note: You need to let SSHD listen to several ports to make use of this | |
322 | +# directive. | |
323 | + | |
324 | +#ENABLE_NOMACHINE_FORWARD_PORT="0" | |
325 | +#NOMACHINE_FORWARD_PORT="22" | |
326 | + | |
327 | +#NOMACHINE_SERVER="/usr/NX/bin/nxserver" | |
328 | +#NOMACHINE_NX_HOME_DIR="/usr/NX/home/nx" | |
329 | + | |
330 | + | |
331 | +# LOAD BALANCING | |
332 | +# ============== | |
333 | +# | |
334 | +# To do load balancing setup some hosts in LOAD_BALANCE_SERVERS and | |
335 | +# make: | |
336 | +# | |
337 | +# - either sure that all incoming connections are sent to the master | |
338 | +# server by using forwarding directives on the "slave" servers. | |
339 | +# | |
340 | +# - or share the session database space via NFS between the servers. | |
341 | +# (not recommended at the moment as race conditions for DISPLAYs can | |
342 | +# occur) | |
343 | +# | |
344 | + | |
345 | +#LOAD_BALANCE_SERVERS="" | |
346 | + | |
347 | +# The following load_balance_algorithms are available at the moment: | |
348 | +# | |
349 | +# "load", "round-robin", "random" | |
350 | +# | |
351 | +# For "load" you need a script called nxcheckload in PATH_BIN. | |
352 | +# | |
353 | +# A sample script, which you can change to your needs it shipped with | |
354 | +# FreeNX under the name nxcheckload.sample. | |
355 | + | |
356 | +#LOAD_BALANCE_ALGORITHM="random" | |
357 | + | |
358 | +# By setting ENABLE_LOADBALANCE="1" you can let users choose their | |
359 | +# preferred host, while being forwarded to another server. Of course | |
360 | +# this is just a preference. The loadbalancing algorithm can completely | |
361 | +# choose to ignore the users choice. | |
362 | + | |
363 | +#ENABLE_LOAD_BALANCE_PREFERENCE="0" | |
364 | + | |
365 | +######################################################################### | |
366 | +# Services directives | |
367 | +######################################################################### | |
368 | + | |
369 | +# FreeNX with ENABLE_ESD_PRELOAD="1" will automatically try to setup | |
370 | +# the sound with the help of the esd media helper. | |
371 | +# | |
372 | +# Currently ESD will be used just by the Windows NX Client. | |
373 | +# | |
374 | +# Be sure that $ESD_BIN_PRELOAD is in your path, does exist and work | |
375 | +# before enabling this directive. | |
376 | + | |
377 | +#ENABLE_ESD_PRELOAD="0" | |
378 | +#ESD_BIN_PRELOAD="esddsp" | |
379 | + | |
380 | +# FreeNX with ENABLE_ARTSD_PRELOAD="1" will automatically try to setup | |
381 | +# the sound with the help of the artsd media helper. | |
382 | +# | |
383 | +# Currently ARTSD will be used just by the Linux NX Client. | |
384 | +# | |
385 | +# Be sure that $ARTSD_BIN_PRELOAD is in your path, does exist and work | |
386 | +# before enabling this directive. | |
387 | + | |
388 | +#ENABLE_ARTSD_PRELOAD="0" | |
389 | +#ARTSD_BIN_PRELOAD="artsdsp" | |
390 | + | |
391 | +# FreeNX with ENABLE_KDE_CUPS="1" will automatically write | |
392 | +# $KDE_PRINTRC and put the current used socket into it. | |
393 | +# | |
394 | +# If you additionally enable ENABLE_KDE_CUPS_DYNAMIC it will set the | |
395 | +# Host entry to the script nxcups-gethost, which dynamically tries all | |
396 | +# possible entries to find the current printing host. | |
397 | +# | |
398 | +# The order is: CUPS_SERVER (env var), ~/.cups/client.conf, $KDE_PRINTRC, | |
399 | +# $CUPS_DEFAULT_SOCK, localhost | |
400 | +# | |
401 | +# So this option is most useful with ENABLE_CUPS_SERVER_EXPORT="1". | |
402 | +# | |
403 | +# $KDE_PRINTRC is automatically calculated if its not set. | |
404 | + | |
405 | +#ENABLE_KDE_CUPS="0" | |
406 | +#ENABLE_KDE_CUPS_DYNAMIC="0" | |
407 | +#KDE_PRINTRC="$KDEHOME/share/config/kdeprintrc" | |
408 | + | |
409 | +# FreeNX with ENABLE_CUPS_SERVER_EXPORT="1" will automatically | |
410 | +# export the environment variable CUPS_SERVER. | |
411 | + | |
412 | +#ENABLE_CUPS_SERVER_EXPORT="1" | |
413 | + | |
414 | +# FreeNX with ENABLE_CUPS_SEAMLESS will automatically try to download the | |
415 | +# necessary ppds from the client. | |
416 | +# | |
417 | +# As the forwarding is just active as soon as nxagent is started, | |
418 | +# we need a small delay of $CUPS_SEAMLESS_DELAY. | |
419 | +# | |
420 | +# Note: You need to use a patched cupsd on client side. | |
421 | + | |
422 | +#ENABLE_CUPS_SEAMLESS="0" | |
423 | +#CUPS_SEAMLESS_DELAY="10" | |
424 | + | |
425 | +# FreeNX with ENABLE_FOOMATIC will integrate the foomatic db to the list | |
426 | +# of available ppd drivers via the $COMMAND_FOOMATIC command. | |
427 | + | |
428 | +#ENABLE_FOOMATIC="1" | |
429 | +#COMMAND_FOOMATIC="/usr/lib/cups/driver/foomatic-ppdfile" | |
430 | + | |
431 | +# CUPS_BACKEND and CUPS_ETC are the corresponding paths of your CUPS | |
432 | +# installation. | |
433 | + | |
434 | +#CUPS_BACKEND="/usr/lib/cups/backend" | |
435 | +#CUPS_IPP_BACKEND="$CUPS_BACKEND/nxipp" | |
436 | +#CUPS_DEFAULT_SOCK="/var/run/cups/cups.sock" | |
437 | +#CUPS_ETC="/etc/cups" | |
438 | + | |
439 | +# SAMBA_MOUNT_SHARE_PROTOCOL is a key to configure the supported | |
440 | +# protocols for mounting shares. | |
441 | +# | |
442 | +# This key can be set to the following values: | |
443 | +# | |
444 | +# both, either SMB and CIFS protocol are supported, this is the default value. | |
445 | +# smbfs, only SMB protocol is supported. | |
446 | +# cifs, only CIFS protocol is supported. | |
447 | +# none, no network file-sharing protocol is supported. | |
448 | + | |
449 | +#SAMBA_MOUNT_SHARE_PROTOCOL="both" | |
450 | + | |
451 | +# FreeNX with ENABLE_SAMBA_PRELOAD="1" will automatically setup | |
452 | +# port 445 and 139 and forward them to the used samba port. | |
453 | +# | |
454 | +# This enables samba browsing to the local subnet in for example | |
455 | +# konqueror. | |
456 | +# | |
457 | +#ENABLE_SAMBA_PRELOAD="0" | |
458 | + | |
459 | +######################################################################### | |
460 | +# Path directives | |
461 | +######################################################################### | |
462 | + | |
463 | +# USER_FAKE_HOME is the base directory for the .nx directory. Use this | |
464 | +# parameter instead of the users home directory if $HOME is on a NFS share. | |
465 | +# Note that this directory must be unique for every user! To accomplish this | |
466 | +# it is recommended to include $USER in the path. | |
467 | +#USER_FAKE_HOME=$HOME | |
468 | + | |
469 | +# Add the nx libraries to LD_LIBRARY_PATH before starting nx agents. | |
470 | +# WARNING: This will NOT (and should not) affect applications. ONLY Disable | |
471 | +# this if the nx libraries are in a standard system path (such as /usr/lib)! | |
472 | +#SET_LD_LIBRARY_PATH="1" | |
473 | + | |
474 | + | |
475 | +# The command binary for the default window manager. If set it is run when a | |
476 | +# 'unix-custom' session is requested by the NX Client and an application | |
477 | +# to run is specified. It defaults to empty (ie no WM is run). | |
478 | +# If KILL_DEFAULT_X_WM is set the WM is terminated after the started | |
479 | +# application finishes. Else FreeNX will wait for the WM to complete. | |
480 | +#DEFAULT_X_WM="" | |
481 | +#KILL_DEFAULT_X_WM="1" | |
482 | + | |
483 | +# When a 'unix-default' session is requested by the client the user's X startup | |
484 | +# script will be run if pressent and executable, otherwise the default X | |
485 | +# session will be run. | |
486 | +# Depending on distribution USER_X_STARTUP_SCRIPT might be .Xclients, .xinitrc | |
487 | +# and .Xsession | |
488 | +# Depending on distribution DEFAULT_X_SESSION might be /etc/X11/xdm/Xsession, | |
489 | +# /etc/X11/Sessions/Xsession or /etc/X11/xinit/xinitrc | |
490 | +#USER_X_STARTUP_SCRIPT=.Xclients | |
491 | +#DEFAULT_X_SESSION=/etc/X11/xdm/Xsession | |
492 | + | |
493 | +# The key that contains the name of the script that starts a KDE session. | |
494 | +# It's run when a 'unix-kde' session is requested by the client. | |
495 | +#COMMAND_START_KDE=startkde | |
496 | + | |
497 | +# The key that contains the name of the script that starts a gnome session. | |
498 | +# It's run when a 'unix-gnome' session is requested by the client. | |
499 | +#COMMAND_START_GNOME=gnome-session | |
500 | + | |
501 | +# The key that contains the name of the script that starts a CDE session. | |
502 | +# It's run when a 'unix-cde' session is requested by the client. | |
503 | +#COMMAND_START_CDE=cdwm | |
504 | + | |
505 | +# The key that contains the name of the complete path of command name | |
506 | +# 'xterm'. It is run when a unix "xterm" session is requested by the | |
507 | +# client. | |
508 | +#COMMAND_XTERM=xterm | |
509 | + | |
510 | +# The key that contains the name of the complete path of command name | |
511 | +# 'xauth'. | |
512 | +#COMMAND_XAUTH=/usr/X11R6/bin/xauth | |
513 | + | |
514 | +# The key that contains the name of the complete path of command name | |
515 | +# 'smbmount'. | |
516 | +#COMMAND_SMBMOUNT=smbmount | |
517 | + | |
518 | +# The key that contains the name of the complete path of command name | |
519 | +# 'smbumount'. | |
520 | +#COMMAND_SMBUMOUNT=smbumount | |
521 | + | |
522 | +# The key that contains the name of the complete path of command name | |
523 | +# 'mount.cifs'. | |
524 | +#COMMAND_SMBMOUNT_CIFS=/sbin/mount.cifs | |
525 | + | |
526 | +# The key that contains the name of the complete path of command name | |
527 | +# 'umount.cifs'. | |
528 | +#COMMAND_SMBUMOUNT_CIFS=/sbin/umount.cifs | |
529 | + | |
530 | +# The key that contains the name of the complete path of the 'netcat' command. | |
531 | +#COMMAND_NETCAT=netcat | |
532 | + | |
533 | +# The key that contains the name of the complete path of the 'ssh' and | |
534 | +# 'ssh-keygen' command. | |
535 | +#COMMAND_SSH=ssh | |
536 | +#COMMAND_SSH_KEYGEN=ssh-keygen | |
537 | + | |
538 | +# The key that contains the name of the complete path of the 'cupsd' command. | |
539 | +#COMMAND_CUPSD=/usr/sbin/cupsd | |
540 | + | |
541 | +# The tool to generate md5sums with | |
542 | +#COMMAND_MD5SUM="openssl md5" | |
543 | + | |
544 | +# The key that contains the name of the complete path of the 'rdesktop' command. | |
545 | +#COMMAND_RDESKTOP=rdesktop | |
546 | + | |
547 | +# The key that contains the name of the complete path of the 'vncviewer' command. | |
548 | +#COMMAND_VNCVIEWER=vncviewer | |
549 | + | |
550 | +# The key that contains the name of the complete path of the 'vncpasswd' command. | |
551 | +# By default the builtin nxpasswd is used. | |
552 | +#COMMAND_VNCPASSWD="$PATH_BIN/nxpasswd" | |
553 | + | |
554 | +# The key that contains the name of the complete path of the 'x11vnc' command. | |
555 | +#COMMAND_X11VNC=x11vnc | |
556 | + | |
557 | +# The key that contains the name of the complete path of the 'taskset' command. | |
558 | +#COMMAND_TASKSET=taskset | |
559 | + | |
560 | +######################################################################### | |
561 | +# Misc directives | |
562 | +######################################################################### | |
563 | + | |
564 | +# When you installed an old 1.5.0 NX Backend, set this to 1. | |
565 | +#ENABLE_1_5_0_BACKEND="0" | |
566 | + | |
567 | +# When set to 1 this will automatically resume started sessions | |
568 | +#ENABLE_AUTORECONNECT="0" | |
569 | + | |
570 | +# When set to 1 this will automatically resume started sessions | |
571 | +# but only if an older client version is used | |
572 | +#ENABLE_AUTORECONNECT_BEFORE_140="1" | |
573 | + | |
574 | +# When set to 1 exports NXUSERIP / NXSESSIONID in nxnode | |
575 | +#EXPORT_USERIP="0" | |
576 | +#EXPORT_SESSIONID="1" | |
577 | + | |
578 | +# This can be set to any executable, which is started after session startup | |
579 | +# like: $NODE_AUTOSTART {start|restore} | |
580 | +#NODE_AUTOSTART="" | |
581 | + | |
582 | +# When set to 1 will start nxagent in rootless mode. | |
583 | +#ENABLE_ROOTLESS_MODE="1" | |
584 | + | |
585 | +# If enabled writes entries via the COMMAND_SESSREG program | |
586 | +# into utmp/wtmp/lastlog database. | |
587 | +# Note: You have to make sure that you add the nx user to the | |
588 | +# utmp or tty group or how its called on your system | |
589 | +# before this directive works. | |
590 | +#ENABLE_USESSION="1" | |
591 | +#COMMAND_SESSREG="sessreg" | |
592 | + | |
593 | +# Extra options sent to the different nx agents. See !M documentation | |
594 | +# for examples of useful parameters. | |
595 | +#AGENT_EXTRA_OPTIONS_RFB="" | |
596 | +#AGENT_EXTRA_OPTIONS_RDP="" | |
597 | +#AGENT_EXTRA_OPTIONS_X="" | |
598 | + | |
599 | +# The number of seconds we wait for the nxagent to start before | |
600 | +# deciding startup has failed | |
601 | +#AGENT_STARTUP_TIMEOUT="60" | |
602 | + | |
603 | +# The font server the agent will use. If set to "" no font server is used. | |
604 | +# For this to do any good, the client has to have the same font server set | |
605 | +# in /etc/X11/XF86Config | |
606 | +#AGENT_FONT_SERVER="" | |
607 | + | |
608 | +# Disable or enable use of 'tcp nodelay' on proxy. Old versions of Linux | |
609 | +# kernels have problems using this option on sockets that will cause a loss | |
610 | +# of TCP connections. This option is not set by default to allow clients to | |
611 | +# specify whether to enable or disable TCP nodelay. Setting this option to | |
612 | +# the value of "0" NX proxy avoids using 'tcp nodelay' but it will cause a | |
613 | +# loss of interaction in sessions. | |
614 | +#PROXY_TCP_NODELAY="" | |
615 | + | |
616 | +# Extra options to nxproxy. See !M documentation for useful parameters. | |
617 | +#PROXY_EXTRA_OPTIONS="" | |
618 | + | |
619 | +# In case you want to use an external 'rdesktop' command | |
620 | +# set this to "1". | |
621 | +# | |
622 | +# If nxdesktop cannot be found this is set automatically to "1". | |
623 | +#ENABLE_EXTERNAL_NXDESKTOP="0" | |
624 | + | |
625 | +# This configuration variable determines if 'rdesktop' command should be run with -k keyboard option | |
626 | +# or if the keyboard should be autodetected. | |
627 | +# | |
628 | +#ENABLE_EXTERNAL_NXDESKTOP_KEYBOARD="1" | |
629 | + | |
630 | +# In case you want to use an external 'nxviewer' command | |
631 | +# set this to "1". | |
632 | +# | |
633 | +# If nxviewer cannot be found this is set automatically to "1". | |
634 | +#ENABLE_EXTERNAL_NXVIEWER="0" | |
635 | diff -Nur freenx-server-0.7.2.orig/nxloadconfig freenx-server-0.7.2.freenx-node-conf/nxloadconfig | |
596bde90 | 636 | --- freenx-server-0.7.2.orig/nxloadconfig 2008-03-14 15:47:47.000000000 -0600 |
637 | +++ freenx-server-0.7.2.freenx-node-conf/nxloadconfig 2008-08-17 15:54:32.000000000 -0600 | |
925ac753 | 638 | @@ -58,7 +58,7 @@ |
639 | # Where can different nx components be found | |
640 | NX_DIR=/usr | |
641 | PATH_BIN=$NX_DIR/bin # if you change that, be sure to also change the public keys | |
642 | -PATH_LIB=$NX_DIR/lib | |
643 | +PATH_LIB=$NX_DIR/lib/NX | |
644 | NX_ETC_DIR=/etc/nxserver | |
645 | NX_SESS_DIR=/var/lib/nxserver/db | |
646 | NX_HOME_DIR=/var/lib/nxserver/home | |
596bde90 | 647 | @@ -70,7 +70,7 @@ |
648 | APPLICATION_LIBRARY_PRELOAD="" #Calculated | |
649 | ||
650 | # the name of the authorized keys file for ssh | |
651 | -SSH_AUTHORIZED_KEYS="authorized_keys2" | |
652 | +SSH_AUTHORIZED_KEYS="authorized_keys" | |
653 | ||
654 | # retest values like xauth, netcat and checks for nxdesktop/nxviewer availability | |
655 | # set to 0 if you are sure, you set the right values |