]> git.pld-linux.org Git - packages/freenx-server.git/blob - freenx-node-conf.patch
- s/kdebase-desktop/kde4-kdebase-workspace in Suggests; rel 2
[packages/freenx-server.git] / freenx-node-conf.patch
1 diff -Nur freenx-server-0.7.3.orig/node.conf.sample freenx-server-0.7.3.freenx-node-conf/node.conf.sample
2 --- freenx-server-0.7.3.orig/node.conf.sample   2008-08-21 18:44:43.000000000 -0600
3 +++ freenx-server-0.7.3.freenx-node-conf/node.conf.sample       2008-09-13 12:32:39.000000000 -0600
4 @@ -522,6 +522,12 @@
5  # 'xauth'.
6  #COMMAND_XAUTH=/usr/bin/xauth
7  
8 +COMMAND_XAUTH=xauth
9 +COMMAND_XSET=xset
10 +COMMAND_XMODMAP=xmodmap
11 +COMMAND_XKBCOMP=xkbcomp
12 +#
13 +
14  # The key that contains the name of the complete path of command name
15  # 'smbmount'.
16  #COMMAND_SMBMOUNT=smbmount
17 @@ -539,7 +545,7 @@
18  #COMMAND_SMBUMOUNT_CIFS=/sbin/umount.cifs
19  
20  # The key that contains the name of the complete path of the 'netcat' command.
21 -#COMMAND_NETCAT=netcat
22 +COMMAND_NETCAT=nc
23  
24  # The key that contains the name of the complete path of the 'ssh' and
25  # 'ssh-keygen' command.
26 @@ -606,6 +612,8 @@
27  #AGENT_EXTRA_OPTIONS_RFB=""
28  #AGENT_EXTRA_OPTIONS_RDP=""
29  #AGENT_EXTRA_OPTIONS_X="-nolisten tcp"
30 +AGENT_EXTRA_OPTIONS_X="-fp /usr/share/fonts/misc/,/usr/share/fonts/100dpi/,/usr
31 +/share/fonts/75dpi/,/usr/share/fonts/Type1/,/usr/share/fonts/TTF/"
32  
33  # The number of seconds we wait for the nxagent to start before
34  # deciding startup has failed
35 @@ -627,6 +635,8 @@
36  # Extra options to nxproxy. See !M documentation for useful parameters.
37  #PROXY_EXTRA_OPTIONS=""
38  
39 +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"
40 +
41  # In case you want to use an external 'rdesktop' command
42  # set this to "1".
43  # 
44 diff -Nur freenx-server-0.7.3.orig/node.conf.sample.orig freenx-server-0.7.3.freenx-node-conf/node.conf.sample.orig
45 --- freenx-server-0.7.3.orig/node.conf.sample.orig      1969-12-31 17:00:00.000000000 -0700
46 +++ freenx-server-0.7.3.freenx-node-conf/node.conf.sample.orig  2008-08-21 18:44:43.000000000 -0600
47 @@ -0,0 +1,645 @@
48 +# node.conf
49 +#
50 +# This file is provided by FreeNX. It should be placed either into
51 +# /etc/nxserver/node.conf (FreeNX style) or /usr/NX/etc/node.conf
52 +# (NoMachine NX style).
53 +#
54 +# It is mostly compatible with NoMachine node.conf. The most important 
55 +# difference is that no spaces are allowed when assigning values (eg 
56 +# "A=value" is allowed, "A = value" is NOT).
57 +#
58 +# This file is sourced by bash, so you can do some fancy stuff here if you
59 +# want to, but be aware that it is sourced 3 times per connection. If you 
60 +# want autostart stuff, set NODE_AUTOSTART instead!
61 +# 
62 +#
63 +# You surely are aware that FreeNX is based on the fantastic results that
64 +# the hard work by NoMachine.com has achieved. NoMachine.com released the
65 +# core NX libraries under the GPL. The installation of these libs are the
66 +# precondition for all FreeNX scripts to work. If you are installing this
67 +# software with the help of one of the package management tools of your
68 +# Linux distribution, you can assume that this dependency is taken care of
69 +# by the tool.
70 +#
71 +# You have questions about the inner workings of the NX technology?
72 +#
73 +# Then you are recommended to first check out the rich and very detailed
74 +# NoMachine documentation and their online Knowledge Base at 
75 +#
76 +#           http://www.nomachine.com/kb/
77 +#
78 +# Other sources of information are the NoMachine mailing lists 
79 +# (nxusers@nomachine.com and nxdevelopers@nomachine.com):
80 +#
81 +#           http://www.nomachine.com/mailinglists.php
82 +#
83 +# The FreeNX (freenx-knx@kde.org) list is here:
84 +#
85 +#           https://mail.kde.org/mailman/listinfo/freenx-knx
86 +#
87 +# SVN: $Id$
88 +
89 +#########################################################################
90 +# General FreeNX directives
91 +#########################################################################
92 +
93 +# The host name which is used by NX server. It's should be used if it's
94 +# different than the default hostname (as returned by `hostname`)
95 +#SERVER_NAME="$(hostname)"
96 +
97 +# The port number where local 'sshd' is listening.
98 +#SSHD_PORT=22
99 +
100 +
101 +#########################################################################
102 +# Authentication / Security directives
103 +#########################################################################
104 +
105 +# Authentication directives
106 +
107 +# This adds the usermode to the possible authentication methods
108 +# Usermode means that a user can start the nxserver as his shell
109 +# and connect directly to the right server via a custom client.
110 +#ENABLE_USERMODE_AUTHENTICATION="0"
111 +
112 +# This adds the passdb to the possible authentication methods
113 +#ENABLE_PASSDB_AUTHENTICATION="0"
114 +
115 +# This adds SSH to the possible authentication methods. For it to work sshd
116 +# must be set up at localhost accepting password authentication.
117 +#ENABLE_SSH_AUTHENTICATION="1"
118 +
119 +# This adds SU to the possible authentication methods. For it to work the 
120 +# "nx" user must be in the wheel (RedHat, Fedora) or the users group (SUSE)
121 +# and the user logging in must have a valid shell that accepts the -c
122 +# parameter.
123 +#ENABLE_SU_AUTHENTICATION="0"
124 +
125 +# Require all users to be in the passdb, regardless of authentication method
126 +#ENABLE_USER_DB="0"
127 +
128 +
129 +# If enabled forces the user to use encryption. This will bail out
130 +# if the user does not have encryption enabled.
131 +#ENABLE_FORCE_ENCRYPTION="0"
132 +
133 +# Refuse the NX client connection if SSHD does not export the
134 +# SSH_CONNECTION and SSH_CLIENT variables in the environment
135 +# passed to the NX server.
136 +# 1: Will check the remote IP and will not accept the
137 +#    connection if it can't be determined.
138 +# 0: Will accept the connection even if the remote IP
139 +#    is not provided.
140 +#SSHD_CHECK_IP="0"
141 +
142 +# If ENABLE_SLAVE_MODE="1" the user will be just logged in _once_ and the 
143 +# communication is done via nxnode slave mode.
144 +#
145 +# This is useful for one time passwords or to have less traffic in utmp 
146 +# and wtmp.
147 +#
148 +# Also session startup times are much faster in slave mode. This is true especially 
149 +# if many printers or shares have to be added.
150 +#
151 +# For this to work the binary nxserver-helper has to be installed in 
152 +# PATH_BIN.
153 +#
154 +#ENABLE_SLAVE_MODE="1"
155 +
156 +# If ENABLE_LOG_FAILED_LOGINS="1" then failed login attempts are logged to the system
157 +# auth.log.
158 +#
159 +# This is useful in combination with tools like fail2ban.
160 +#
161 +# The default is to log failed login attemps via syslog (3).
162 +#
163 +#ENABLE_LOG_FAILED_LOGINS="1"
164 +
165 +#########################################################################
166 +# Restriction directives
167 +#########################################################################
168 +
169 +# The base display number from which sessions are started.
170 +#DISPLAY_BASE=1000
171 +
172 +# The maximum number of contemporary sessions that can be run on FreeNX
173 +#SESSION_LIMIT=200
174 +
175 +# The maximum number of contemporary sessions that a single user can run
176 +# on FreeNX. Defaults to the value of SESSION_LIMIT.
177 +#SESSION_USER_LIMIT=200
178 +
179 +# The number of displays reserved for sessions, it has to be greater or equal
180 +# to the maximum number of contemporary sessions that a server can run.
181 +#DISPLAY_LIMIT=200
182 +
183 +
184 +# User for which sessions should be persistent. Either the keyword "all" or a
185 +# comma-separated list of usernames or groups in the @groupname syntax.
186 +#ENABLE_PERSISTENT_SESSION="all"
187 +
188 +# Users and groups for whom persistent sessions should be disabled.
189 +# Especially useful if ENABLE_PERSISTENT_SESSION="all"
190 +#DISABLE_PERSISTENT_SESSION=""
191 +
192 +# This enables the mirroring of running sessions via VNC feature.
193 +# 
194 +# Session is marked as resumable and type is vnc-mirrored.
195 +# 
196 +#ENABLE_MIRROR_VIA_VNC=1
197 +
198 +# This enables the sharing of :0 via VNC feature.
199 +# 
200 +# Session is marked as resumable and type is vnc-local.
201 +# 
202 +# Note: You need to have the rights to access the display
203 +#       else it does not work.
204 +#
205 +#ENABLE_DESKTOP_SHARING=1
206 +
207 +#
208 +# General shadowing / mirroring notes:
209 +#
210 +# By default shadowing is only allowed for the same user.
211 +#
212 +# If nxserver finds nxshadowacl binary, it asks it, for which users 
213 +# the permission is granted.
214 +# 
215 +# nxshadowacl <user>
216 +# 
217 +# Exit code:
218 +#
219 +# 0 -> Save cookie in session file for other users
220 +# 1 -> Do not save cookie
221 +#
222 +# Check if user is allowed to be shadowed by admin user.
223 +#
224 +# nxshadowacl <user> <admin>
225 +# 
226 +# Exit code:
227 +#
228 +# 0 -> Yes, allow shadowing and add to list
229 +# 1 -> No, don't allow shadowing
230 +# 
231 +
232 +#
233 +# When using NX 3.0 shadowing, this enables asking the user whether
234 +# he authorizes another user to shadow his session
235 +#
236 +# 0: No authorization request will be presented,
237 +#    and the session will be shadowed as if the user had approved.
238 +# 1: (default) Ask for authorization
239 +#
240 +#ENABLE_SESSION_SHADOWING_AUTHORIZATION=1
241 +
242 +# Allow session shadowing in interactive mode:
243 +#
244 +# 1: The shadowing user can interact with the shadowed session.
245 +#
246 +# 0: The shadowed session is view-only. No interaction with the
247 +#    shadowed session is possible.
248 +#
249 +#ENABLE_INTERACTIVE_SESSION_SHADOWING=1
250 +
251 +#
252 +# Enable or disable clipboard:
253 +#
254 +# client:  The content copied on the client can be pasted inside the
255 +#            NX session.
256 +#
257 +# server: The content copied inside the NX session can be pasted
258 +#             on the client.
259 +#
260 +# both:    The copy&paste operations are allowed both between the
261 +#             client and the NX session and vice-versa.
262 +#
263 +# none:   The copy&paste operations between the client and the NX
264 +#            session are never allowed.
265 +#
266 +#ENABLE_CLIPBOARD="both"
267 +
268 +
269 +#
270 +# Enable or disable the pulldown dialog, which provides a graphical
271 +# way to suspend or terminate the rootless session:
272 +#
273 +# 1: Enabled. The pulldown menu is shown when the mouse pointer
274 +#     moves near the middle of the top boundary of a window and
275 +#     allows the user to suspend or terminate the session by means
276 +#     of an icon-click.
277 +#
278 +# 0: Disabled. The ctrl+alt+T key combination has to be issued
279 +#     to get the dialog for suspending or terminating the session.
280 +#
281 +#ENABLE_PULLDOWN_MENU="1"
282 +
283 +
284 +# The option USE_PROCESSOR_TASKSET is for setting the CPU affinity of all
285 +# nx related processes.
286 +#
287 +# Note: To have for example startkde run on even another core, just specify:
288 +#
289 +# COMMAND_STARTKDE="taskset -c 2 -- startkde"
290 +#
291 +# FreeNX runs this option like: $COMMAND_TASKSET -cp "$USE_PROCESSOR_TASKSET" $$
292 +# 
293 +# So with $USE_PROCESSOR_TASKSET set to 3,4 it would balance the tasks to cores
294 +# 3 and 4.
295 +#
296 +# If this option is empty, no balance to cores is done.
297 +#
298 +#USE_PROCESSOR_TASKSET=""
299 +
300 +# If you set ENABLE_ADVANCED_SESSION_CONTROL="1" you can start a new application in an already
301 +# running rootless session by using "add <rest of name>" as session name.
302 +#
303 +# Note: The client will return a message on that.
304 +#
305 +#ENABLE_ADVANCED_SESSION_CONTROL="0"
306 +
307 +# If you set ENABLE_SHOW_RUNNING_SESSIONS="0" then nxserver will only show
308 +# suspended sessions and you will not be able to resume or terminate a running 
309 +# session.
310 +#
311 +#ENABLE_SHOW_RUNNING_SESSIONS="1"
312 +
313 +#########################################################################
314 +# Logging directives
315 +#########################################################################
316 +
317 +# This directives controls the verbosity of the server-wide log.
318 +# 0: No Logging
319 +# 1: Errors
320 +# 2: Warnings
321 +# 3: Important information
322 +# 4: Server - Client communication
323 +# 5: Information
324 +# 6: Debugging information
325 +# 7: stderror of some applications
326 +#NX_LOG_LEVEL=0
327 +
328 +# By setting this to 0 the nxserver might be a bit faster, but passwords can be found in the log files.
329 +#NX_LOG_SECURE=1
330 +
331 +# Before turning logging on, please make sure that NX_LOGFILE is
332 +# writeable for the "nx" user
333 +#NX_LOGFILE=/var/log/nxserver.log
334 +
335 +# This directive controls if the temporary session directory
336 +# ($HOME/.nx/C-<hostname>-<display>-<session_id>) should be kept after a
337 +# session has ended. A successfully terminated session will be saved as
338 +# T-C-<hostname>-<display>-<session_id> while a failed session will be saved
339 +# as F-C-<hostname>-<display>-<session_id>.
340 +# The default is to cleanup the directories.
341 +#SESSION_LOG_CLEAN=1
342 +
343 +# Amount of seconds nxserver is to keep session history. The default of 2592000
344 +# is equivalent to 30 days. If this is 0 no session history will be kept
345 +# and a negative value denotes infinity.
346 +#SESSION_HISTORY=2592000
347 +
348 +
349 +#########################################################################
350 +# Forwarding directives
351 +#########################################################################
352 +
353 +# FreeNX with ENABLE_SERVER_FORWARD="1" will automatically forward all
354 +# connections to the host specified in SERVER_FORWARD_HOST with the
355 +# secret key SERVER_FORWARD_KEY.
356 +#
357 +# This allows to have a "chain" of NX Servers. Note that you will need to
358 +# use "SSL encryption" for all connections.
359 +
360 +#ENABLE_SERVER_FORWARD="0"
361 +#SERVER_FORWARD_HOST=""
362 +#SERVER_FORWARD_PORT=22
363 +#SERVER_FORWARD_KEY="/usr/NX/share/client.id_dsa.key"
364 +
365 +
366 +# FreeNX with ENABLE_NOMACHINE_FORWARD_PORT="1" will automatically forward all
367 +# connections to the commercial NoMachine nxserver installed on the same
368 +# machine, which go in by port NOMACHINE_FORWARD_PORT. This feature is introduced
369 +# to enable the usage of FreeNX and NoMachine NX side by side on the same machine
370 +# without conflicts.
371 +#
372 +# Note: You need to let SSHD listen to several ports to make use of this
373 +#       directive.
374 +
375 +#ENABLE_NOMACHINE_FORWARD_PORT="0"
376 +#NOMACHINE_FORWARD_PORT="22"
377 +
378 +#NOMACHINE_SERVER="/usr/NX/bin/nxserver"
379 +#NOMACHINE_NX_HOME_DIR="/usr/NX/home/nx"
380 +
381 +
382 +# LOAD BALANCING
383 +# ==============
384 +#
385 +# To do load balancing setup some hosts in LOAD_BALANCE_SERVERS and
386 +# make:
387 +#
388 +#   - either sure that all incoming connections are sent to the master
389 +#     server by using forwarding directives on the "slave" servers.
390 +#
391 +#   - or share the session database space via NFS between the servers.
392 +#     (not recommended at the moment as race conditions for DISPLAYs can 
393 +#      occur)
394 +#
395 +
396 +#LOAD_BALANCE_SERVERS=""
397 +
398 +# The following load_balance_algorithms are available at the moment:
399 +#
400 +# "load", "round-robin", "random"
401 +#
402 +# For "load" you need a script called nxcheckload in PATH_BIN.
403 +# 
404 +# A sample script, which you can change to your needs it shipped with
405 +# FreeNX under the name nxcheckload.sample.
406 +
407 +#LOAD_BALANCE_ALGORITHM="random"
408 +
409 +# By setting ENABLE_LOADBALANCE="1" you can let users choose their
410 +# preferred host, while being forwarded to another server. Of course
411 +# this is just a preference. The loadbalancing algorithm can completely
412 +# choose to ignore the users choice.
413 +
414 +#ENABLE_LOAD_BALANCE_PREFERENCE="0"
415 +
416 +#########################################################################
417 +# Services directives
418 +#########################################################################
419 +
420 +# FreeNX with ENABLE_ESD_PRELOAD="1" will automatically try to setup
421 +# the sound with the help of the esd media helper.
422 +#
423 +# Currently ESD will be used just by the Windows NX Client.
424 +#
425 +# Be sure that $ESD_BIN_PRELOAD is in your path, does exist and work
426 +# before enabling this directive.
427 +
428 +#ENABLE_ESD_PRELOAD="0"
429 +#ESD_BIN_PRELOAD="esddsp"
430 +
431 +# FreeNX with ENABLE_ARTSD_PRELOAD="1" will automatically try to setup
432 +# the sound with the help of the artsd media helper.
433 +#
434 +# Currently ARTSD will be used just by the Linux NX Client.
435 +#
436 +# Be sure that $ARTSD_BIN_PRELOAD is in your path, does exist and work
437 +# before enabling this directive.
438 +
439 +#ENABLE_ARTSD_PRELOAD="0"
440 +#ARTSD_BIN_PRELOAD="artsdsp"
441 +
442 +# FreeNX with ENABLE_KDE_CUPS="1" will automatically write 
443 +# $KDE_PRINTRC and put the current used socket into it.
444 +#
445 +# If you additionally enable ENABLE_KDE_CUPS_DYNAMIC it will set the 
446 +# Host entry to the script nxcups-gethost, which dynamically tries all 
447 +# possible entries to find the current printing host.
448 +#
449 +# The order is: CUPS_SERVER (env var), ~/.cups/client.conf, $KDE_PRINTRC,
450 +#               $CUPS_DEFAULT_SOCK, localhost
451 +#
452 +# So this option is most useful with ENABLE_CUPS_SERVER_EXPORT="1".
453 +# 
454 +# $KDE_PRINTRC is automatically calculated if its not set.
455 +
456 +#ENABLE_KDE_CUPS="0"
457 +#ENABLE_KDE_CUPS_DYNAMIC="0"
458 +#KDE_PRINTRC="$KDEHOME/share/config/kdeprintrc"
459 +
460 +# FreeNX with ENABLE_CUPS_SERVER_EXPORT="1" will automatically
461 +# export the environment variable CUPS_SERVER.
462 +
463 +#ENABLE_CUPS_SERVER_EXPORT="1"
464 +
465 +# FreeNX with ENABLE_CUPS_SEAMLESS will automatically try to download the 
466 +# necessary ppds from the client.
467 +# 
468 +# As the forwarding is just active as soon as nxagent is started,
469 +# we need a small delay of $CUPS_SEAMLESS_DELAY.
470 +#
471 +# Note: You need to use a patched cupsd on client side.
472 +
473 +#ENABLE_CUPS_SEAMLESS="0"
474 +#CUPS_SEAMLESS_DELAY="10"
475 +
476 +# FreeNX with ENABLE_FOOMATIC will integrate the foomatic db to the list
477 +# of available ppd drivers via the $COMMAND_FOOMATIC command.
478 +
479 +#ENABLE_FOOMATIC="1"
480 +#COMMAND_FOOMATIC="/usr/lib/cups/driver/foomatic-ppdfile"
481 +
482 +# CUPS_BACKEND and CUPS_ETC are the corresponding paths of your CUPS 
483 +# installation.
484 +
485 +#CUPS_BACKEND="/usr/lib/cups/backend"
486 +#CUPS_IPP_BACKEND="$CUPS_BACKEND/nxipp"
487 +#CUPS_DEFAULT_SOCK="/var/run/cups/cups.sock"
488 +#CUPS_ETC="/etc/cups"
489 +
490 +# SAMBA_MOUNT_SHARE_PROTOCOL is a key to configure the supported 
491 +# protocols for mounting shares.
492 +#
493 +# This key can be set to the following values:
494 +#
495 +# both, either SMB and CIFS protocol are supported, this is the default value.
496 +# smbfs, only SMB protocol is supported.
497 +# cifs, only CIFS protocol is supported.
498 +# none, no network file-sharing protocol is supported.
499 +
500 +#SAMBA_MOUNT_SHARE_PROTOCOL="both"
501 +
502 +# FreeNX with ENABLE_SAMBA_PRELOAD="1" will automatically setup
503 +# port 445 and 139 and forward them to the used samba port.
504 +#
505 +# This enables samba browsing to the local subnet in for example 
506 +# konqueror.
507 +#
508 +#ENABLE_SAMBA_PRELOAD="0"
509 +
510 +# FreeNX with ENABLE_SOURCE_BASH_PROFILE="1" will source the users ~/.bash_profile
511 +# before application startup as we are kind of a login shell.
512 +#
513 +# With this key this behaviour can be enabled (default) or disabled.
514 +# 
515 +#ENABLE_SOURCE_BASH_PROFILE="1"
516 +
517 +#########################################################################
518 +# Path directives
519 +#########################################################################
520 +
521 +# USER_FAKE_HOME is the base directory for the .nx directory. Use this
522 +# parameter instead of the users home directory if $HOME is on a NFS share.
523 +# Note that this directory must be unique for every user! To accomplish this
524 +# it is recommended to include $USER in the path.
525 +#USER_FAKE_HOME=$HOME
526 +
527 +# Add the nx libraries to LD_LIBRARY_PATH before starting nx agents.
528 +# WARNING: This will NOT (and should not) affect applications. ONLY Disable
529 +# this if the nx libraries are in a standard system path (such as /usr/lib)!
530 +#SET_LD_LIBRARY_PATH="1"
531 +
532 +
533 +# The command binary for the default window manager. If set it is run when a
534 +# 'unix-custom' session is requested by the NX Client and an application
535 +# to run is specified. It defaults to empty (ie no WM is run).
536 +# If KILL_DEFAULT_X_WM is set the WM is terminated after the started 
537 +# application finishes. Else FreeNX will wait for the WM to complete.
538 +#DEFAULT_X_WM=""
539 +#KILL_DEFAULT_X_WM="1"
540 +
541 +# When a 'unix-default' session is requested by the client the user's X startup
542 +# script will be run if pressent and executable, otherwise the default X
543 +# session will be run.
544 +# Depending on distribution USER_X_STARTUP_SCRIPT might be .Xclients, .xinitrc
545 +# and .Xsession
546 +# Depending on distribution DEFAULT_X_SESSION might be /etc/X11/xdm/Xsession,
547 +# /etc/X11/Sessions/Xsession or /etc/X11/xinit/xinitrc
548 +#USER_X_STARTUP_SCRIPT=.Xclients
549 +#DEFAULT_X_SESSION=/etc/X11/xdm/Xsession
550 +
551 +# The key that contains the name of the script that starts a KDE session.
552 +# It's run when a 'unix-kde' session is requested by the client.
553 +#COMMAND_START_KDE=startkde
554 +
555 +# The key that contains the name of the script that starts a gnome session.
556 +# It's run when a 'unix-gnome' session is requested by the client.
557 +#COMMAND_START_GNOME=gnome-session
558 +
559 +# The key that contains the name of the script that starts a CDE session.
560 +# It's run when a 'unix-cde' session is requested by the client.
561 +#COMMAND_START_CDE=cdwm
562 +
563 +# The key that contains the name of the complete path of command name
564 +# 'xterm'. It is run when a unix "xterm" session is requested by the
565 +# client.
566 +#COMMAND_XTERM=xterm
567 +
568 +# The key that contains the name of the complete path of command name
569 +# 'xauth'.
570 +#COMMAND_XAUTH=/usr/bin/xauth
571 +
572 +# The key that contains the name of the complete path of command name
573 +# 'smbmount'.
574 +#COMMAND_SMBMOUNT=smbmount
575 +
576 +# The key that contains the name of the complete path of command name
577 +# 'smbumount'.
578 +#COMMAND_SMBUMOUNT=smbumount
579 +
580 +# The key that contains the name of the complete path of command name
581 +# 'mount.cifs'.
582 +#COMMAND_SMBMOUNT_CIFS=/sbin/mount.cifs
583 +
584 +# The key that contains the name of the complete path of command name
585 +# 'umount.cifs'.
586 +#COMMAND_SMBUMOUNT_CIFS=/sbin/umount.cifs
587 +
588 +# The key that contains the name of the complete path of the 'netcat' command.
589 +#COMMAND_NETCAT=netcat
590 +
591 +# The key that contains the name of the complete path of the 'ssh' and
592 +# 'ssh-keygen' command.
593 +#COMMAND_SSH=ssh
594 +#COMMAND_SSH_KEYGEN=ssh-keygen
595 +
596 +# The key that contains the name of the complete path of the 'cupsd' command.
597 +#COMMAND_CUPSD=/usr/sbin/cupsd
598 +
599 +# The tool to generate md5sums with
600 +#COMMAND_MD5SUM="openssl md5"
601 +
602 +# The key that contains the name of the complete path of the 'rdesktop' command.
603 +#COMMAND_RDESKTOP=rdesktop
604 +
605 +# The key that contains the name of the complete path of the 'vncviewer' command.
606 +#COMMAND_VNCVIEWER=vncviewer
607 +
608 +# The key that contains the name of the complete path of the 'vncpasswd' command.
609 +# By default the builtin nxpasswd is used.
610 +#COMMAND_VNCPASSWD="$PATH_BIN/nxpasswd"
611 +
612 +# The key that contains the name of the complete path of the 'x11vnc' command.
613 +#COMMAND_X11VNC=x11vnc
614 +
615 +# The key that contains the name of the complete path of the 'taskset' command.
616 +#COMMAND_TASKSET=taskset
617 +
618 +#########################################################################
619 +# Misc directives
620 +#########################################################################
621 +
622 +# When you installed an old 1.5.0 NX Backend, set this to 1.
623 +#ENABLE_1_5_0_BACKEND="0"
624 +
625 +# When set to 1 this will automatically resume started sessions
626 +#ENABLE_AUTORECONNECT="0"
627 +
628 +# When set to 1 this will automatically resume started sessions
629 +# but only if an older client version is used
630 +#ENABLE_AUTORECONNECT_BEFORE_140="1"
631 +
632 +# When set to 1 exports NXUSERIP / NXSESSIONID in nxnode
633 +#EXPORT_USERIP="0"
634 +#EXPORT_SESSIONID="1"
635 +
636 +# This can be set to any executable, which is started after session startup
637 +# like: $NODE_AUTOSTART {start|restore}
638 +#NODE_AUTOSTART=""
639 +
640 +# When set to 1 will start nxagent in rootless mode.
641 +#ENABLE_ROOTLESS_MODE="1"
642 +
643 +# If enabled writes entries via the COMMAND_SESSREG program
644 +# into utmp/wtmp/lastlog database.
645 +# Note: You have to make sure that you add the nx user to the
646 +#       utmp or tty group or how its called on your system
647 +#       before this directive works.
648 +#ENABLE_USESSION="1"
649 +#COMMAND_SESSREG="sessreg"
650 +
651 +# Extra options sent to the different nx agents. See !M documentation
652 +# for examples of useful parameters.
653 +#AGENT_EXTRA_OPTIONS_RFB=""
654 +#AGENT_EXTRA_OPTIONS_RDP=""
655 +#AGENT_EXTRA_OPTIONS_X="-nolisten tcp"
656 +
657 +# The number of seconds we wait for the nxagent to start before
658 +# deciding startup has failed
659 +#AGENT_STARTUP_TIMEOUT="60"
660 +
661 +# The font server the agent will use. If set to "" no font server is used.
662 +# For this to do any good, the client has to have the same font server set
663 +# in /etc/X11/XF86Config
664 +#AGENT_FONT_SERVER=""
665 +
666 +# Disable or enable use of 'tcp nodelay' on proxy. Old versions of Linux
667 +# kernels have problems using this option on sockets that will cause a loss
668 +# of TCP connections. This option is not set by default to allow clients to
669 +# specify whether to enable or disable TCP nodelay. Setting this option to
670 +# the value of "0" NX proxy avoids using 'tcp nodelay' but it will cause a
671 +# loss of interaction in sessions.
672 +#PROXY_TCP_NODELAY=""
673 +
674 +# Extra options to nxproxy. See !M documentation for useful parameters.
675 +#PROXY_EXTRA_OPTIONS=""
676 +
677 +# In case you want to use an external 'rdesktop' command
678 +# set this to "1".
679 +# 
680 +# If nxdesktop cannot be found this is set automatically to "1".
681 +#ENABLE_EXTERNAL_NXDESKTOP="0"
682 +
683 +# This configuration variable determines if 'rdesktop' command should be run with -k keyboard option
684 +# or if the keyboard should be autodetected.
685 +#
686 +#ENABLE_EXTERNAL_NXDESKTOP_KEYBOARD="1"
687 +
688 +# In case you want to use an external 'nxviewer' command
689 +# set this to "1".
690 +# 
691 +# If nxviewer cannot be found this is set automatically to "1".
692 +#ENABLE_EXTERNAL_NXVIEWER="0"
693 diff -Nur freenx-server-0.7.3.orig/node.conf.sample.orig.rej freenx-server-0.7.3.freenx-node-conf/node.conf.sample.orig.rej
694 --- freenx-server-0.7.3.orig/node.conf.sample.orig.rej  1969-12-31 17:00:00.000000000 -0700
695 +++ freenx-server-0.7.3.freenx-node-conf/node.conf.sample.orig.rej      2008-09-13 12:30:13.000000000 -0600
696 @@ -0,0 +1,588 @@
697 +***************
698 +*** 0 ****
699 +--- 1,585 ----
700 ++ # node.conf
701 ++ #
702 ++ # This file is provided by FreeNX. It should be placed either into
703 ++ # /etc/nxserver/node.conf (FreeNX style) or /usr/NX/etc/node.conf
704 ++ # (NoMachine NX style).
705 ++ #
706 ++ # It is mostly compatible with NoMachine node.conf. The most important 
707 ++ # difference is that no spaces are allowed when assigning values (eg 
708 ++ # "A=value" is allowed, "A = value" is NOT).
709 ++ #
710 ++ # This file is sourced by bash, so you can do some fancy stuff here if you
711 ++ # want to, but be aware that it is sourced 3 times per connection. If you 
712 ++ # want autostart stuff, set NODE_AUTOSTART instead!
713 ++ # 
714 ++ #
715 ++ # You surely are aware that FreeNX is based on the fantastic results that
716 ++ # the hard work by NoMachine.com has achieved. NoMachine.com released the
717 ++ # core NX libraries under the GPL. The installation of these libs are the
718 ++ # precondition for all FreeNX scripts to work. If you are installing this
719 ++ # software with the help of one of the package management tools of your
720 ++ # Linux distribution, you can assume that this dependency is taken care of
721 ++ # by the tool.
722 ++ #
723 ++ # You have questions about the inner workings of the NX technology?
724 ++ #
725 ++ # Then you are recommended to first check out the rich and very detailed
726 ++ # NoMachine documentation and their online Knowledge Base at 
727 ++ #
728 ++ #           http://www.nomachine.com/kb/
729 ++ #
730 ++ # Other sources of information are the NoMachine mailing lists 
731 ++ # (nxusers@nomachine.com and nxdevelopers@nomachine.com):
732 ++ #
733 ++ #           http://www.nomachine.com/mailinglists.php
734 ++ #
735 ++ # The FreeNX (freenx-knx@kde.org) list is here:
736 ++ #
737 ++ #           https://mail.kde.org/mailman/listinfo/freenx-knx
738 ++ #
739 ++ # SVN: $Id$
740 ++ 
741 ++ #########################################################################
742 ++ # General FreeNX directives
743 ++ #########################################################################
744 ++ 
745 ++ # The host name which is used by NX server. It's should be used if it's
746 ++ # different than the default hostname (as returned by `hostname`)
747 ++ #SERVER_NAME="$(hostname)"
748 ++ 
749 ++ # The port number where local 'sshd' is listening.
750 ++ #SSHD_PORT=22
751 ++ 
752 ++ 
753 ++ #########################################################################
754 ++ # Authentication / Security directives
755 ++ #########################################################################
756 ++ 
757 ++ # Authentication directives
758 ++ 
759 ++ # This adds the usermode to the possible authentication methods
760 ++ # Usermode means that a user can start the nxserver as his shell
761 ++ # and connect directly to the right server via a custom client.
762 ++ #ENABLE_USERMODE_AUTHENTICATION="0"
763 ++ 
764 ++ # This adds the passdb to the possible authentication methods
765 ++ #ENABLE_PASSDB_AUTHENTICATION="1"
766 ++ 
767 ++ # This adds SSH to the possible authentication methods. For it to work sshd
768 ++ # must be set up at localhost accepting password authentication.
769 ++ #ENABLE_SSH_AUTHENTICATION="1"
770 ++ 
771 ++ # This adds SU to the possible authentication methods. For it to work the 
772 ++ # "nx" user must be in the wheel (RedHat, Fedora) or the users group (SUSE)
773 ++ # and the user logging in must have a valid shell that accepts the -c
774 ++ # parameter.
775 ++ #ENABLE_SU_AUTHENTICATION="0"
776 ++ 
777 ++ # Require all users to be in the passdb, regardless of authentication method
778 ++ #ENABLE_USER_DB="0"
779 ++ 
780 ++ 
781 ++ # If enabled forces the user to use encryption. This will bail out
782 ++ # if the user does not have encryption enabled.
783 ++ #ENABLE_FORCE_ENCRYPTION="0"
784 ++ 
785 ++ # Refuse the NX client connection if SSHD does not export the
786 ++ # SSH_CONNECTION and SSH_CLIENT variables in the environment
787 ++ # passed to the NX server.
788 ++ # 1: Will check the remote IP and will not accept the
789 ++ #    connection if it can't be determined.
790 ++ # 0: Will accept the connection even if the remote IP
791 ++ #    is not provided.
792 ++ #SSHD_CHECK_IP="0"
793 ++ 
794 ++ # If ENABLE_SLAVE_MODE="1" the user will be just logged in _once_ and the 
795 ++ # communication is done via nxnode slave mode.
796 ++ #
797 ++ # This is useful for one time passwords or to have less traffic in utmp 
798 ++ # and wtmp.
799 ++ #
800 ++ # Also session startup times are much faster in slave mode. This is true especially 
801 ++ # if many printers or shares have to be added.
802 ++ #
803 ++ # For this to work the binary nxserver-helper has to be installed in 
804 ++ # PATH_BIN.
805 ++ #
806 ++ #ENABLE_SLAVE_MODE="0"
807 ++ 
808 ++ #########################################################################
809 ++ # Restriction directives
810 ++ #########################################################################
811 ++ 
812 ++ # The base display number from which sessions are started.
813 ++ #DISPLAY_BASE=1000
814 ++ 
815 ++ # The maximum number of contemporary sessions that can be run on FreeNX
816 ++ #SESSION_LIMIT=200
817 ++ 
818 ++ # The maximum number of contemporary sessions that a single user can run
819 ++ # on FreeNX. Defaults to the value of SESSION_LIMIT.
820 ++ #SESSION_USER_LIMIT=200
821 ++ 
822 ++ # The number of displays reserved for sessions, it has to be greater or equal
823 ++ # to the maximum number of contemporary sessions that a server can run.
824 ++ #DISPLAY_LIMIT=200
825 ++ 
826 ++ 
827 ++ # User for which sessions should be persistent. Either the keyword "all" or a
828 ++ # comma-separated list of usernames or groups in the @groupname syntax.
829 ++ #ENABLE_PERSISTENT_SESSION="all"
830 ++ 
831 ++ # Users and groups for whom persistent sessions should be disabled.
832 ++ # Especially useful if ENABLE_PERSISTENT_SESSION="all"
833 ++ #DISABLE_PERSISTENT_SESSION=""
834 ++ 
835 ++ # This enables the mirroring of running sessions via VNC feature.
836 ++ # 
837 ++ # Session is marked as resumable and type is vnc-mirrored.
838 ++ # 
839 ++ #ENABLE_MIRROR_VIA_VNC=1
840 ++ 
841 ++ # This enables the sharing of :0 via VNC feature.
842 ++ # 
843 ++ # Session is marked as resumable and type is vnc-local.
844 ++ # 
845 ++ # Note: You need to have the rights to access the display
846 ++ #       else it does not work.
847 ++ #
848 ++ #ENABLE_DESKTOP_SHARING=1
849 ++ 
850 ++ #
851 ++ # Enable or disable clipboard:
852 ++ #
853 ++ # client:  The content copied on the client can be pasted inside the
854 ++ #            NX session.
855 ++ #
856 ++ # server: The content copied inside the NX session can be pasted
857 ++ #             on the client.
858 ++ #
859 ++ # both:    The copy&paste operations are allowed both between the
860 ++ #             client and the NX session and vice-versa.
861 ++ #
862 ++ # none:   The copy&paste operations between the client and the NX
863 ++ #            session are never allowed.
864 ++ #
865 ++ #ENABLE_CLIPBOARD="both"
866 ++ 
867 ++ 
868 ++ #
869 ++ # Enable or disable the pulldown dialog, which provides a graphical
870 ++ # way to suspend or terminate the rootless session:
871 ++ #
872 ++ # 1: Enabled. The pulldown menu is shown when the mouse pointer
873 ++ #     moves near the middle of the top boundary of a window and
874 ++ #     allows the user to suspend or terminate the session by means
875 ++ #     of an icon-click.
876 ++ #
877 ++ # 0: Disabled. The ctrl+alt+T key combination has to be issued
878 ++ #     to get the dialog for suspending or terminating the session.
879 ++ #
880 ++ #ENABLE_PULLDOWN_MENU="1"
881 ++ 
882 ++ 
883 ++ # The option USE_PROCESSOR_TASKSET is for setting the CPU affinity of all
884 ++ # nx related processes.
885 ++ #
886 ++ # Note: To have for example startkde run on even another core, just specify:
887 ++ #
888 ++ # COMMAND_STARTKDE="taskset -c 2 -- startkde"
889 ++ #
890 ++ # FreeNX runs this option like: $COMMAND_TASKSET -cp "$USE_PROCESSOR_TASKSET" $$
891 ++ # 
892 ++ # So with $USE_PROCESSOR_TASKSET set to 3,4 it would balance the tasks to cores
893 ++ # 3 and 4.
894 ++ #
895 ++ # If this option is empty, no balance to cores is done.
896 ++ #
897 ++ #USE_PROCESSOR_TASKSET=""
898 ++ 
899 ++ # If you set ENABLE_ADVANCED_SESSION_CONTROL="1" you can start a new application in an already
900 ++ # running rootless session by using "add <rest of name>" as session name.
901 ++ #
902 ++ # Note: The client will return a message on that.
903 ++ #
904 ++ #ENABLE_ADVANCED_SESSION_CONTROL="0"
905 ++ 
906 ++ # If you set ENABLE_SHOW_RUNNING_SESSIONS="0" then nxserver will only show
907 ++ # suspended sessions and you will not be able to resume or terminate a running 
908 ++ # session.
909 ++ #
910 ++ #ENABLE_SHOW_RUNNING_SESSIONS="1"
911 ++ 
912 ++ #########################################################################
913 ++ # Logging directives
914 ++ #########################################################################
915 ++ 
916 ++ # This directives controls the verbosity of the server-wide log.
917 ++ # 0: No Logging
918 ++ # 1: Errors
919 ++ # 2: Warnings
920 ++ # 3: Important information
921 ++ # 4: Server - Client communication
922 ++ # 5: Information
923 ++ # 6: Debugging information
924 ++ # 7: stderror of some applications
925 ++ #NX_LOG_LEVEL=0
926 ++ 
927 ++ # By setting this to 0 the nxserver might be a bit faster, but passwords can be found in the log files.
928 ++ #NX_LOG_SECURE=1
929 ++ 
930 ++ # Before turning logging on, please make sure that NX_LOGFILE is
931 ++ # writeable for the "nx" user
932 ++ #NX_LOGFILE=/var/log/nxserver.log
933 ++ 
934 ++ # This directive controls if the temporary session directory
935 ++ # ($HOME/.nx/C-<hostname>-<display>-<session_id>) should be kept after a
936 ++ # session has ended. A successfully terminated session will be saved as
937 ++ # T-C-<hostname>-<display>-<session_id> while a failed session will be saved
938 ++ # as F-C-<hostname>-<display>-<session_id>.
939 ++ # The default is to cleanup the directories.
940 ++ #SESSION_LOG_CLEAN=1
941 ++ 
942 ++ # Amount of seconds nxserver is to keep session history. The default of 2592000
943 ++ # is equivalent to 30 days. If this is 0 no session history will be kept
944 ++ # and a negative value denotes infinity.
945 ++ #SESSION_HISTORY=2592000
946 ++ 
947 ++ 
948 ++ #########################################################################
949 ++ # Forwarding directives
950 ++ #########################################################################
951 ++ 
952 ++ # FreeNX with ENABLE_SERVER_FORWARD="1" will automatically forward all
953 ++ # connections to the host specified in SERVER_FORWARD_HOST with the
954 ++ # secret key SERVER_FORWARD_KEY.
955 ++ #
956 ++ # This allows to have a "chain" of NX Servers. Note that you will need to
957 ++ # use "SSL encryption" for all connections.
958 ++ 
959 ++ #ENABLE_SERVER_FORWARD="0"
960 ++ #SERVER_FORWARD_HOST=""
961 ++ #SERVER_FORWARD_PORT=22
962 ++ #SERVER_FORWARD_KEY="/usr/NX/share/client.id_dsa.key"
963 ++ 
964 ++ 
965 ++ # FreeNX with ENABLE_NOMACHINE_FORWARD_PORT="1" will automatically forward all
966 ++ # connections to the commercial NoMachine nxserver installed on the same
967 ++ # machine, which go in by port NOMACHINE_FORWARD_PORT. This feature is introduced
968 ++ # to enable the usage of FreeNX and NoMachine NX side by side on the same machine
969 ++ # without conflicts.
970 ++ #
971 ++ # Note: You need to let SSHD listen to several ports to make use of this
972 ++ #       directive.
973 ++ 
974 ++ #ENABLE_NOMACHINE_FORWARD_PORT="0"
975 ++ #NOMACHINE_FORWARD_PORT="22"
976 ++ 
977 ++ #NOMACHINE_SERVER="/usr/NX/bin/nxserver"
978 ++ #NOMACHINE_NX_HOME_DIR="/usr/NX/home/nx"
979 ++ 
980 ++ 
981 ++ # LOAD BALANCING
982 ++ # ==============
983 ++ #
984 ++ # To do load balancing setup some hosts in LOAD_BALANCE_SERVERS and
985 ++ # make:
986 ++ #
987 ++ #   - either sure that all incoming connections are sent to the master
988 ++ #     server by using forwarding directives on the "slave" servers.
989 ++ #
990 ++ #   - or share the session database space via NFS between the servers.
991 ++ #     (not recommended at the moment as race conditions for DISPLAYs can 
992 ++ #      occur)
993 ++ #
994 ++ 
995 ++ #LOAD_BALANCE_SERVERS=""
996 ++ 
997 ++ # The following load_balance_algorithms are available at the moment:
998 ++ #
999 ++ # "load", "round-robin", "random"
1000 ++ #
1001 ++ # For "load" you need a script called nxcheckload in PATH_BIN.
1002 ++ # 
1003 ++ # A sample script, which you can change to your needs it shipped with
1004 ++ # FreeNX under the name nxcheckload.sample.
1005 ++ 
1006 ++ #LOAD_BALANCE_ALGORITHM="random"
1007 ++ 
1008 ++ # By setting ENABLE_LOADBALANCE="1" you can let users choose their
1009 ++ # preferred host, while being forwarded to another server. Of course
1010 ++ # this is just a preference. The loadbalancing algorithm can completely
1011 ++ # choose to ignore the users choice.
1012 ++ 
1013 ++ #ENABLE_LOAD_BALANCE_PREFERENCE="0"
1014 ++ 
1015 ++ #########################################################################
1016 ++ # Services directives
1017 ++ #########################################################################
1018 ++ 
1019 ++ # FreeNX with ENABLE_ESD_PRELOAD="1" will automatically try to setup
1020 ++ # the sound with the help of the esd media helper.
1021 ++ #
1022 ++ # Currently ESD will be used just by the Windows NX Client.
1023 ++ #
1024 ++ # Be sure that $ESD_BIN_PRELOAD is in your path, does exist and work
1025 ++ # before enabling this directive.
1026 ++ 
1027 ++ #ENABLE_ESD_PRELOAD="0"
1028 ++ #ESD_BIN_PRELOAD="esddsp"
1029 ++ 
1030 ++ # FreeNX with ENABLE_ARTSD_PRELOAD="1" will automatically try to setup
1031 ++ # the sound with the help of the artsd media helper.
1032 ++ #
1033 ++ # Currently ARTSD will be used just by the Linux NX Client.
1034 ++ #
1035 ++ # Be sure that $ARTSD_BIN_PRELOAD is in your path, does exist and work
1036 ++ # before enabling this directive.
1037 ++ 
1038 ++ #ENABLE_ARTSD_PRELOAD="0"
1039 ++ #ARTSD_BIN_PRELOAD="artsdsp"
1040 ++ 
1041 ++ # FreeNX with ENABLE_KDE_CUPS="1" will automatically write 
1042 ++ # $KDE_PRINTRC and put the current used socket into it.
1043 ++ #
1044 ++ # If you additionally enable ENABLE_KDE_CUPS_DYNAMIC it will set the 
1045 ++ # Host entry to the script nxcups-gethost, which dynamically tries all 
1046 ++ # possible entries to find the current printing host.
1047 ++ #
1048 ++ # The order is: CUPS_SERVER (env var), ~/.cups/client.conf, $KDE_PRINTRC,
1049 ++ #               $CUPS_DEFAULT_SOCK, localhost
1050 ++ #
1051 ++ # So this option is most useful with ENABLE_CUPS_SERVER_EXPORT="1".
1052 ++ # 
1053 ++ # $KDE_PRINTRC is automatically calculated if its not set.
1054 ++ 
1055 ++ #ENABLE_KDE_CUPS="0"
1056 ++ #ENABLE_KDE_CUPS_DYNAMIC="0"
1057 ++ #KDE_PRINTRC="$KDEHOME/share/config/kdeprintrc"
1058 ++ 
1059 ++ # FreeNX with ENABLE_CUPS_SERVER_EXPORT="1" will automatically
1060 ++ # export the environment variable CUPS_SERVER.
1061 ++ 
1062 ++ #ENABLE_CUPS_SERVER_EXPORT="1"
1063 ++ 
1064 ++ # FreeNX with ENABLE_CUPS_SEAMLESS will automatically try to download the 
1065 ++ # necessary ppds from the client.
1066 ++ # 
1067 ++ # As the forwarding is just active as soon as nxagent is started,
1068 ++ # we need a small delay of $CUPS_SEAMLESS_DELAY.
1069 ++ #
1070 ++ # Note: You need to use a patched cupsd on client side.
1071 ++ 
1072 ++ #ENABLE_CUPS_SEAMLESS="0"
1073 ++ #CUPS_SEAMLESS_DELAY="10"
1074 ++ 
1075 ++ # FreeNX with ENABLE_FOOMATIC will integrate the foomatic db to the list
1076 ++ # of available ppd drivers via the $COMMAND_FOOMATIC command.
1077 ++ 
1078 ++ #ENABLE_FOOMATIC="1"
1079 ++ #COMMAND_FOOMATIC="/usr/lib/cups/driver/foomatic-ppdfile"
1080 ++ 
1081 ++ # CUPS_BACKEND and CUPS_ETC are the corresponding paths of your CUPS 
1082 ++ # installation.
1083 ++ 
1084 ++ #CUPS_BACKEND="/usr/lib/cups/backend"
1085 ++ #CUPS_IPP_BACKEND="$CUPS_BACKEND/nxipp"
1086 ++ #CUPS_DEFAULT_SOCK="/var/run/cups/cups.sock"
1087 ++ #CUPS_ETC="/etc/cups"
1088 ++ 
1089 ++ # SAMBA_MOUNT_SHARE_PROTOCOL is a key to configure the supported 
1090 ++ # protocols for mounting shares.
1091 ++ #
1092 ++ # This key can be set to the following values:
1093 ++ #
1094 ++ # both, either SMB and CIFS protocol are supported, this is the default value.
1095 ++ # smbfs, only SMB protocol is supported.
1096 ++ # cifs, only CIFS protocol is supported.
1097 ++ # none, no network file-sharing protocol is supported.
1098 ++ 
1099 ++ #SAMBA_MOUNT_SHARE_PROTOCOL="both"
1100 ++ 
1101 ++ # FreeNX with ENABLE_SAMBA_PRELOAD="1" will automatically setup
1102 ++ # port 445 and 139 and forward them to the used samba port.
1103 ++ #
1104 ++ # This enables samba browsing to the local subnet in for example 
1105 ++ # konqueror.
1106 ++ #
1107 ++ #ENABLE_SAMBA_PRELOAD="0"
1108 ++ 
1109 ++ #########################################################################
1110 ++ # Path directives
1111 ++ #########################################################################
1112 ++ 
1113 ++ # USER_FAKE_HOME is the base directory for the .nx directory. Use this
1114 ++ # parameter instead of the users home directory if $HOME is on a NFS share.
1115 ++ # Note that this directory must be unique for every user! To accomplish this
1116 ++ # it is recommended to include $USER in the path.
1117 ++ #USER_FAKE_HOME=$HOME
1118 ++ 
1119 ++ # Add the nx libraries to LD_LIBRARY_PATH before starting nx agents.
1120 ++ # WARNING: This will NOT (and should not) affect applications. ONLY Disable
1121 ++ # this if the nx libraries are in a standard system path (such as /usr/lib)!
1122 ++ #SET_LD_LIBRARY_PATH="1"
1123 ++ 
1124 ++ 
1125 ++ # The command binary for the default window manager. If set it is run when a
1126 ++ # 'unix-custom' session is requested by the NX Client and an application
1127 ++ # to run is specified. It defaults to empty (ie no WM is run).
1128 ++ # If KILL_DEFAULT_X_WM is set the WM is terminated after the started 
1129 ++ # application finishes. Else FreeNX will wait for the WM to complete.
1130 ++ #DEFAULT_X_WM=""
1131 ++ #KILL_DEFAULT_X_WM="1"
1132 ++ 
1133 ++ # When a 'unix-default' session is requested by the client the user's X startup
1134 ++ # script will be run if pressent and executable, otherwise the default X
1135 ++ # session will be run.
1136 ++ # Depending on distribution USER_X_STARTUP_SCRIPT might be .Xclients, .xinitrc
1137 ++ # and .Xsession
1138 ++ # Depending on distribution DEFAULT_X_SESSION might be /etc/X11/xdm/Xsession,
1139 ++ # /etc/X11/Sessions/Xsession or /etc/X11/xinit/xinitrc
1140 ++ #USER_X_STARTUP_SCRIPT=.Xclients
1141 ++ #DEFAULT_X_SESSION=/etc/X11/xdm/Xsession
1142 ++ 
1143 ++ # The key that contains the name of the script that starts a KDE session.
1144 ++ # It's run when a 'unix-kde' session is requested by the client.
1145 ++ #COMMAND_START_KDE=startkde
1146 ++ 
1147 ++ # The key that contains the name of the script that starts a gnome session.
1148 ++ # It's run when a 'unix-gnome' session is requested by the client.
1149 ++ #COMMAND_START_GNOME=gnome-session
1150 ++ 
1151 ++ # The key that contains the name of the script that starts a CDE session.
1152 ++ # It's run when a 'unix-cde' session is requested by the client.
1153 ++ #COMMAND_START_CDE=cdwm
1154 ++ 
1155 ++ # The key that contains the name of the complete path of command name
1156 ++ # 'xterm'. It is run when a unix "xterm" session is requested by the
1157 ++ # client.
1158 ++ #COMMAND_XTERM=xterm
1159 ++ 
1160 ++ # The key that contains the name of the complete path of command name
1161 ++ # 'xauth'.
1162 ++ #COMMAND_XAUTH=/usr/X11R6/bin/xauth
1163 ++ 
1164 ++ # The key that contains the name of the complete path of command name
1165 ++ # 'smbmount'.
1166 ++ #COMMAND_SMBMOUNT=smbmount
1167 ++ 
1168 ++ # The key that contains the name of the complete path of command name
1169 ++ # 'smbumount'.
1170 ++ #COMMAND_SMBUMOUNT=smbumount
1171 ++ 
1172 ++ # The key that contains the name of the complete path of command name
1173 ++ # 'mount.cifs'.
1174 ++ #COMMAND_SMBMOUNT_CIFS=/sbin/mount.cifs
1175 ++ 
1176 ++ # The key that contains the name of the complete path of command name
1177 ++ # 'umount.cifs'.
1178 ++ #COMMAND_SMBUMOUNT_CIFS=/sbin/umount.cifs
1179 ++ 
1180 ++ # The key that contains the name of the complete path of the 'netcat' command.
1181 ++ #COMMAND_NETCAT=netcat
1182 ++ 
1183 ++ # The key that contains the name of the complete path of the 'ssh' and
1184 ++ # 'ssh-keygen' command.
1185 ++ #COMMAND_SSH=ssh
1186 ++ #COMMAND_SSH_KEYGEN=ssh-keygen
1187 ++ 
1188 ++ # The key that contains the name of the complete path of the 'cupsd' command.
1189 ++ #COMMAND_CUPSD=/usr/sbin/cupsd
1190 ++ 
1191 ++ # The tool to generate md5sums with
1192 ++ #COMMAND_MD5SUM="openssl md5"
1193 ++ 
1194 ++ # The key that contains the name of the complete path of the 'rdesktop' command.
1195 ++ #COMMAND_RDESKTOP=rdesktop
1196 ++ 
1197 ++ # The key that contains the name of the complete path of the 'vncviewer' command.
1198 ++ #COMMAND_VNCVIEWER=vncviewer
1199 ++ 
1200 ++ # The key that contains the name of the complete path of the 'vncpasswd' command.
1201 ++ # By default the builtin nxpasswd is used.
1202 ++ #COMMAND_VNCPASSWD="$PATH_BIN/nxpasswd"
1203 ++ 
1204 ++ # The key that contains the name of the complete path of the 'x11vnc' command.
1205 ++ #COMMAND_X11VNC=x11vnc
1206 ++ 
1207 ++ # The key that contains the name of the complete path of the 'taskset' command.
1208 ++ #COMMAND_TASKSET=taskset
1209 ++ 
1210 ++ #########################################################################
1211 ++ # Misc directives
1212 ++ #########################################################################
1213 ++ 
1214 ++ # When you installed an old 1.5.0 NX Backend, set this to 1.
1215 ++ #ENABLE_1_5_0_BACKEND="0"
1216 ++ 
1217 ++ # When set to 1 this will automatically resume started sessions
1218 ++ #ENABLE_AUTORECONNECT="0"
1219 ++ 
1220 ++ # When set to 1 this will automatically resume started sessions
1221 ++ # but only if an older client version is used
1222 ++ #ENABLE_AUTORECONNECT_BEFORE_140="1"
1223 ++ 
1224 ++ # When set to 1 exports NXUSERIP / NXSESSIONID in nxnode
1225 ++ #EXPORT_USERIP="0"
1226 ++ #EXPORT_SESSIONID="1"
1227 ++ 
1228 ++ # This can be set to any executable, which is started after session startup
1229 ++ # like: $NODE_AUTOSTART {start|restore}
1230 ++ #NODE_AUTOSTART=""
1231 ++ 
1232 ++ # When set to 1 will start nxagent in rootless mode.
1233 ++ #ENABLE_ROOTLESS_MODE="1"
1234 ++ 
1235 ++ # If enabled writes entries via the COMMAND_SESSREG program
1236 ++ # into utmp/wtmp/lastlog database.
1237 ++ # Note: You have to make sure that you add the nx user to the
1238 ++ #       utmp or tty group or how its called on your system
1239 ++ #       before this directive works.
1240 ++ #ENABLE_USESSION="1"
1241 ++ #COMMAND_SESSREG="sessreg"
1242 ++ 
1243 ++ # Extra options sent to the different nx agents. See !M documentation
1244 ++ # for examples of useful parameters.
1245 ++ #AGENT_EXTRA_OPTIONS_RFB=""
1246 ++ #AGENT_EXTRA_OPTIONS_RDP=""
1247 ++ #AGENT_EXTRA_OPTIONS_X=""
1248 ++ 
1249 ++ # The number of seconds we wait for the nxagent to start before
1250 ++ # deciding startup has failed
1251 ++ #AGENT_STARTUP_TIMEOUT="60"
1252 ++ 
1253 ++ # The font server the agent will use. If set to "" no font server is used.
1254 ++ # For this to do any good, the client has to have the same font server set
1255 ++ # in /etc/X11/XF86Config
1256 ++ #AGENT_FONT_SERVER=""
1257 ++ 
1258 ++ # Disable or enable use of 'tcp nodelay' on proxy. Old versions of Linux
1259 ++ # kernels have problems using this option on sockets that will cause a loss
1260 ++ # of TCP connections. This option is not set by default to allow clients to
1261 ++ # specify whether to enable or disable TCP nodelay. Setting this option to
1262 ++ # the value of "0" NX proxy avoids using 'tcp nodelay' but it will cause a
1263 ++ # loss of interaction in sessions.
1264 ++ #PROXY_TCP_NODELAY=""
1265 ++ 
1266 ++ # Extra options to nxproxy. See !M documentation for useful parameters.
1267 ++ #PROXY_EXTRA_OPTIONS=""
1268 ++ 
1269 ++ # In case you want to use an external 'rdesktop' command
1270 ++ # set this to "1".
1271 ++ # 
1272 ++ # If nxdesktop cannot be found this is set automatically to "1".
1273 ++ #ENABLE_EXTERNAL_NXDESKTOP="0"
1274 ++ 
1275 ++ # This configuration variable determines if 'rdesktop' command should be run with -k keyboard option
1276 ++ # or if the keyboard should be autodetected.
1277 ++ #
1278 ++ #ENABLE_EXTERNAL_NXDESKTOP_KEYBOARD="1"
1279 ++ 
1280 ++ # In case you want to use an external 'nxviewer' command
1281 ++ # set this to "1".
1282 ++ # 
1283 ++ # If nxviewer cannot be found this is set automatically to "1".
1284 ++ #ENABLE_EXTERNAL_NXVIEWER="0"
1285 diff -Nur freenx-server-0.7.3.orig/node.conf.sample.rej freenx-server-0.7.3.freenx-node-conf/node.conf.sample.rej
1286 --- freenx-server-0.7.3.orig/node.conf.sample.rej       1969-12-31 17:00:00.000000000 -0700
1287 +++ freenx-server-0.7.3.freenx-node-conf/node.conf.sample.rej   2008-09-13 12:30:09.000000000 -0600
1288 @@ -0,0 +1,40 @@
1289 +***************
1290 +*** 460,466 ****
1291 +  
1292 +  # The key that contains the name of the complete path of command name
1293 +  # 'xauth'.
1294 +- #COMMAND_XAUTH=/usr/X11R6/bin/xauth
1295 +  
1296 +  # The key that contains the name of the complete path of command name
1297 +  # 'smbmount'.
1298 +--- 460,472 ----
1299 +  
1300 +  # The key that contains the name of the complete path of command name
1301 +  # 'xauth'.
1302 ++ COMMAND_XAUTH=xauth
1303 ++ 
1304 ++ COMMAND_XSET=xset
1305 ++ 
1306 ++ COMMAND_XMODMAP=xmodmap
1307 ++ 
1308 ++ COMMAND_XKBCOMP=xkbcomp
1309 +  
1310 +  # The key that contains the name of the complete path of command name
1311 +  # 'smbmount'.
1312 +***************
1313 +*** 605,611 ****
1314 +  # for examples of useful parameters.
1315 +  #AGENT_EXTRA_OPTIONS_RFB=""
1316 +  #AGENT_EXTRA_OPTIONS_RDP=""
1317 +- #AGENT_EXTRA_OPTIONS_X=""
1318 +  
1319 +  # The number of seconds we wait for the nxagent to start before
1320 +  # deciding startup has failed
1321 +--- 611,617 ----
1322 +  # for examples of useful parameters.
1323 +  #AGENT_EXTRA_OPTIONS_RFB=""
1324 +  #AGENT_EXTRA_OPTIONS_RDP=""
1325 ++ 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/"
1326 +  
1327 +  # The number of seconds we wait for the nxagent to start before
1328 +  # deciding startup has failed
1329 diff -Nur freenx-server-0.7.3.orig/nxloadconfig freenx-server-0.7.3.freenx-node-conf/nxloadconfig
1330 --- freenx-server-0.7.3.orig/nxloadconfig       2008-08-21 18:44:43.000000000 -0600
1331 +++ freenx-server-0.7.3.freenx-node-conf/nxloadconfig   2008-09-13 12:33:31.000000000 -0600
1332 @@ -58,7 +58,7 @@
1333  # Where can different nx components be found
1334  NX_DIR=/usr
1335  PATH_BIN=$NX_DIR/bin # if you change that, be sure to also change the public keys
1336 -PATH_LIB=$NX_DIR/lib
1337 +PATH_LIB=$NX_DIR/lib/NX
1338  NX_ETC_DIR=/etc/nxserver
1339  NX_SESS_DIR=/var/lib/nxserver/db
1340  NX_HOME_DIR=/var/lib/nxserver/home
1341 @@ -70,7 +70,7 @@
1342  APPLICATION_LIBRARY_PRELOAD="" #Calculated
1343  
1344  # the name of the authorized keys file for ssh
1345 -SSH_AUTHORIZED_KEYS="authorized_keys2"
1346 +SSH_AUTHORIZED_KEYS="authorized_keys"
1347  
1348  # retest values like xauth, netcat and checks for nxdesktop/nxviewer availability
1349  # set to 0 if you are sure, you set the right values
This page took 0.203673 seconds and 4 git commands to generate.