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
6 #COMMAND_XAUTH=/usr/bin/xauth
10 +COMMAND_XMODMAP=xmodmap
11 +COMMAND_XKBCOMP=xkbcomp
14 # The key that contains the name of the complete path of command name
16 #COMMAND_SMBMOUNT=smbmount
18 #COMMAND_SMBUMOUNT_CIFS=/sbin/umount.cifs
20 # The key that contains the name of the complete path of the 'netcat' command.
21 -#COMMAND_NETCAT=netcat
24 # The key that contains the name of the complete path of the 'ssh' and
25 # 'ssh-keygen' command.
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/"
33 # The number of seconds we wait for the nxagent to start before
34 # deciding startup has failed
36 # Extra options to nxproxy. See !M documentation for useful parameters.
37 #PROXY_EXTRA_OPTIONS=""
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"
41 # In case you want to use an external 'rdesktop' command
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
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).
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).
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!
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
71 +# You have questions about the inner workings of the NX technology?
73 +# Then you are recommended to first check out the rich and very detailed
74 +# NoMachine documentation and their online Knowledge Base at
76 +# http://www.nomachine.com/kb/
78 +# Other sources of information are the NoMachine mailing lists
79 +# (nxusers@nomachine.com and nxdevelopers@nomachine.com):
81 +# http://www.nomachine.com/mailinglists.php
83 +# The FreeNX (freenx-knx@kde.org) list is here:
85 +# https://mail.kde.org/mailman/listinfo/freenx-knx
89 +#########################################################################
90 +# General FreeNX directives
91 +#########################################################################
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)"
97 +# The port number where local 'sshd' is listening.
101 +#########################################################################
102 +# Authentication / Security directives
103 +#########################################################################
105 +# Authentication directives
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"
112 +# This adds the passdb to the possible authentication methods
113 +#ENABLE_PASSDB_AUTHENTICATION="0"
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"
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
123 +#ENABLE_SU_AUTHENTICATION="0"
125 +# Require all users to be in the passdb, regardless of authentication method
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"
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
142 +# If ENABLE_SLAVE_MODE="1" the user will be just logged in _once_ and the
143 +# communication is done via nxnode slave mode.
145 +# This is useful for one time passwords or to have less traffic in utmp
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.
151 +# For this to work the binary nxserver-helper has to be installed in
154 +#ENABLE_SLAVE_MODE="1"
156 +# If ENABLE_LOG_FAILED_LOGINS="1" then failed login attempts are logged to the system
159 +# This is useful in combination with tools like fail2ban.
161 +# The default is to log failed login attemps via syslog (3).
163 +#ENABLE_LOG_FAILED_LOGINS="1"
165 +#########################################################################
166 +# Restriction directives
167 +#########################################################################
169 +# The base display number from which sessions are started.
172 +# The maximum number of contemporary sessions that can be run on FreeNX
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
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.
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"
188 +# Users and groups for whom persistent sessions should be disabled.
189 +# Especially useful if ENABLE_PERSISTENT_SESSION="all"
190 +#DISABLE_PERSISTENT_SESSION=""
192 +# This enables the mirroring of running sessions via VNC feature.
194 +# Session is marked as resumable and type is vnc-mirrored.
196 +#ENABLE_MIRROR_VIA_VNC=1
198 +# This enables the sharing of :0 via VNC feature.
200 +# Session is marked as resumable and type is vnc-local.
202 +# Note: You need to have the rights to access the display
203 +# else it does not work.
205 +#ENABLE_DESKTOP_SHARING=1
208 +# General shadowing / mirroring notes:
210 +# By default shadowing is only allowed for the same user.
212 +# If nxserver finds nxshadowacl binary, it asks it, for which users
213 +# the permission is granted.
215 +# nxshadowacl <user>
219 +# 0 -> Save cookie in session file for other users
220 +# 1 -> Do not save cookie
222 +# Check if user is allowed to be shadowed by admin user.
224 +# nxshadowacl <user> <admin>
228 +# 0 -> Yes, allow shadowing and add to list
229 +# 1 -> No, don't allow shadowing
233 +# When using NX 3.0 shadowing, this enables asking the user whether
234 +# he authorizes another user to shadow his session
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
240 +#ENABLE_SESSION_SHADOWING_AUTHORIZATION=1
242 +# Allow session shadowing in interactive mode:
244 +# 1: The shadowing user can interact with the shadowed session.
246 +# 0: The shadowed session is view-only. No interaction with the
247 +# shadowed session is possible.
249 +#ENABLE_INTERACTIVE_SESSION_SHADOWING=1
252 +# Enable or disable clipboard:
254 +# client: The content copied on the client can be pasted inside the
257 +# server: The content copied inside the NX session can be pasted
260 +# both: The copy&paste operations are allowed both between the
261 +# client and the NX session and vice-versa.
263 +# none: The copy&paste operations between the client and the NX
264 +# session are never allowed.
266 +#ENABLE_CLIPBOARD="both"
270 +# Enable or disable the pulldown dialog, which provides a graphical
271 +# way to suspend or terminate the rootless session:
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
278 +# 0: Disabled. The ctrl+alt+T key combination has to be issued
279 +# to get the dialog for suspending or terminating the session.
281 +#ENABLE_PULLDOWN_MENU="1"
284 +# The option USE_PROCESSOR_TASKSET is for setting the CPU affinity of all
285 +# nx related processes.
287 +# Note: To have for example startkde run on even another core, just specify:
289 +# COMMAND_STARTKDE="taskset -c 2 -- startkde"
291 +# FreeNX runs this option like: $COMMAND_TASKSET -cp "$USE_PROCESSOR_TASKSET" $$
293 +# So with $USE_PROCESSOR_TASKSET set to 3,4 it would balance the tasks to cores
296 +# If this option is empty, no balance to cores is done.
298 +#USE_PROCESSOR_TASKSET=""
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.
303 +# Note: The client will return a message on that.
305 +#ENABLE_ADVANCED_SESSION_CONTROL="0"
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
311 +#ENABLE_SHOW_RUNNING_SESSIONS="1"
313 +#########################################################################
314 +# Logging directives
315 +#########################################################################
317 +# This directives controls the verbosity of the server-wide log.
321 +# 3: Important information
322 +# 4: Server - Client communication
324 +# 6: Debugging information
325 +# 7: stderror of some applications
328 +# By setting this to 0 the nxserver might be a bit faster, but passwords can be found in the log files.
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
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
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
349 +#########################################################################
350 +# Forwarding directives
351 +#########################################################################
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.
357 +# This allows to have a "chain" of NX Servers. Note that you will need to
358 +# use "SSL encryption" for all connections.
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"
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.
372 +# Note: You need to let SSHD listen to several ports to make use of this
375 +#ENABLE_NOMACHINE_FORWARD_PORT="0"
376 +#NOMACHINE_FORWARD_PORT="22"
378 +#NOMACHINE_SERVER="/usr/NX/bin/nxserver"
379 +#NOMACHINE_NX_HOME_DIR="/usr/NX/home/nx"
385 +# To do load balancing setup some hosts in LOAD_BALANCE_SERVERS and
388 +# - either sure that all incoming connections are sent to the master
389 +# server by using forwarding directives on the "slave" servers.
391 +# - or share the session database space via NFS between the servers.
392 +# (not recommended at the moment as race conditions for DISPLAYs can
396 +#LOAD_BALANCE_SERVERS=""
398 +# The following load_balance_algorithms are available at the moment:
400 +# "load", "round-robin", "random"
402 +# For "load" you need a script called nxcheckload in PATH_BIN.
404 +# A sample script, which you can change to your needs it shipped with
405 +# FreeNX under the name nxcheckload.sample.
407 +#LOAD_BALANCE_ALGORITHM="random"
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.
414 +#ENABLE_LOAD_BALANCE_PREFERENCE="0"
416 +#########################################################################
417 +# Services directives
418 +#########################################################################
420 +# FreeNX with ENABLE_ESD_PRELOAD="1" will automatically try to setup
421 +# the sound with the help of the esd media helper.
423 +# Currently ESD will be used just by the Windows NX Client.
425 +# Be sure that $ESD_BIN_PRELOAD is in your path, does exist and work
426 +# before enabling this directive.
428 +#ENABLE_ESD_PRELOAD="0"
429 +#ESD_BIN_PRELOAD="esddsp"
431 +# FreeNX with ENABLE_ARTSD_PRELOAD="1" will automatically try to setup
432 +# the sound with the help of the artsd media helper.
434 +# Currently ARTSD will be used just by the Linux NX Client.
436 +# Be sure that $ARTSD_BIN_PRELOAD is in your path, does exist and work
437 +# before enabling this directive.
439 +#ENABLE_ARTSD_PRELOAD="0"
440 +#ARTSD_BIN_PRELOAD="artsdsp"
442 +# FreeNX with ENABLE_KDE_CUPS="1" will automatically write
443 +# $KDE_PRINTRC and put the current used socket into it.
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.
449 +# The order is: CUPS_SERVER (env var), ~/.cups/client.conf, $KDE_PRINTRC,
450 +# $CUPS_DEFAULT_SOCK, localhost
452 +# So this option is most useful with ENABLE_CUPS_SERVER_EXPORT="1".
454 +# $KDE_PRINTRC is automatically calculated if its not set.
456 +#ENABLE_KDE_CUPS="0"
457 +#ENABLE_KDE_CUPS_DYNAMIC="0"
458 +#KDE_PRINTRC="$KDEHOME/share/config/kdeprintrc"
460 +# FreeNX with ENABLE_CUPS_SERVER_EXPORT="1" will automatically
461 +# export the environment variable CUPS_SERVER.
463 +#ENABLE_CUPS_SERVER_EXPORT="1"
465 +# FreeNX with ENABLE_CUPS_SEAMLESS will automatically try to download the
466 +# necessary ppds from the client.
468 +# As the forwarding is just active as soon as nxagent is started,
469 +# we need a small delay of $CUPS_SEAMLESS_DELAY.
471 +# Note: You need to use a patched cupsd on client side.
473 +#ENABLE_CUPS_SEAMLESS="0"
474 +#CUPS_SEAMLESS_DELAY="10"
476 +# FreeNX with ENABLE_FOOMATIC will integrate the foomatic db to the list
477 +# of available ppd drivers via the $COMMAND_FOOMATIC command.
479 +#ENABLE_FOOMATIC="1"
480 +#COMMAND_FOOMATIC="/usr/lib/cups/driver/foomatic-ppdfile"
482 +# CUPS_BACKEND and CUPS_ETC are the corresponding paths of your CUPS
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"
490 +# SAMBA_MOUNT_SHARE_PROTOCOL is a key to configure the supported
491 +# protocols for mounting shares.
493 +# This key can be set to the following values:
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.
500 +#SAMBA_MOUNT_SHARE_PROTOCOL="both"
502 +# FreeNX with ENABLE_SAMBA_PRELOAD="1" will automatically setup
503 +# port 445 and 139 and forward them to the used samba port.
505 +# This enables samba browsing to the local subnet in for example
508 +#ENABLE_SAMBA_PRELOAD="0"
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.
513 +# With this key this behaviour can be enabled (default) or disabled.
515 +#ENABLE_SOURCE_BASH_PROFILE="1"
517 +#########################################################################
519 +#########################################################################
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
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"
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.
539 +#KILL_DEFAULT_X_WM="1"
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
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
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
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
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
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
566 +#COMMAND_XTERM=xterm
568 +# The key that contains the name of the complete path of command name
570 +#COMMAND_XAUTH=/usr/bin/xauth
572 +# The key that contains the name of the complete path of command name
574 +#COMMAND_SMBMOUNT=smbmount
576 +# The key that contains the name of the complete path of command name
578 +#COMMAND_SMBUMOUNT=smbumount
580 +# The key that contains the name of the complete path of command name
582 +#COMMAND_SMBMOUNT_CIFS=/sbin/mount.cifs
584 +# The key that contains the name of the complete path of command name
586 +#COMMAND_SMBUMOUNT_CIFS=/sbin/umount.cifs
588 +# The key that contains the name of the complete path of the 'netcat' command.
589 +#COMMAND_NETCAT=netcat
591 +# The key that contains the name of the complete path of the 'ssh' and
592 +# 'ssh-keygen' command.
594 +#COMMAND_SSH_KEYGEN=ssh-keygen
596 +# The key that contains the name of the complete path of the 'cupsd' command.
597 +#COMMAND_CUPSD=/usr/sbin/cupsd
599 +# The tool to generate md5sums with
600 +#COMMAND_MD5SUM="openssl md5"
602 +# The key that contains the name of the complete path of the 'rdesktop' command.
603 +#COMMAND_RDESKTOP=rdesktop
605 +# The key that contains the name of the complete path of the 'vncviewer' command.
606 +#COMMAND_VNCVIEWER=vncviewer
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"
612 +# The key that contains the name of the complete path of the 'x11vnc' command.
613 +#COMMAND_X11VNC=x11vnc
615 +# The key that contains the name of the complete path of the 'taskset' command.
616 +#COMMAND_TASKSET=taskset
618 +#########################################################################
620 +#########################################################################
622 +# When you installed an old 1.5.0 NX Backend, set this to 1.
623 +#ENABLE_1_5_0_BACKEND="0"
625 +# When set to 1 this will automatically resume started sessions
626 +#ENABLE_AUTORECONNECT="0"
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"
632 +# When set to 1 exports NXUSERIP / NXSESSIONID in nxnode
634 +#EXPORT_SESSIONID="1"
636 +# This can be set to any executable, which is started after session startup
637 +# like: $NODE_AUTOSTART {start|restore}
640 +# When set to 1 will start nxagent in rootless mode.
641 +#ENABLE_ROOTLESS_MODE="1"
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"
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"
657 +# The number of seconds we wait for the nxagent to start before
658 +# deciding startup has failed
659 +#AGENT_STARTUP_TIMEOUT="60"
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=""
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=""
674 +# Extra options to nxproxy. See !M documentation for useful parameters.
675 +#PROXY_EXTRA_OPTIONS=""
677 +# In case you want to use an external 'rdesktop' command
680 +# If nxdesktop cannot be found this is set automatically to "1".
681 +#ENABLE_EXTERNAL_NXDESKTOP="0"
683 +# This configuration variable determines if 'rdesktop' command should be run with -k keyboard option
684 +# or if the keyboard should be autodetected.
686 +#ENABLE_EXTERNAL_NXDESKTOP_KEYBOARD="1"
688 +# In case you want to use an external 'nxviewer' command
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
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).
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).
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!
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
723 ++ # You have questions about the inner workings of the NX technology?
725 ++ # Then you are recommended to first check out the rich and very detailed
726 ++ # NoMachine documentation and their online Knowledge Base at
728 ++ # http://www.nomachine.com/kb/
730 ++ # Other sources of information are the NoMachine mailing lists
731 ++ # (nxusers@nomachine.com and nxdevelopers@nomachine.com):
733 ++ # http://www.nomachine.com/mailinglists.php
735 ++ # The FreeNX (freenx-knx@kde.org) list is here:
737 ++ # https://mail.kde.org/mailman/listinfo/freenx-knx
741 ++ #########################################################################
742 ++ # General FreeNX directives
743 ++ #########################################################################
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)"
749 ++ # The port number where local 'sshd' is listening.
753 ++ #########################################################################
754 ++ # Authentication / Security directives
755 ++ #########################################################################
757 ++ # Authentication directives
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"
764 ++ # This adds the passdb to the possible authentication methods
765 ++ #ENABLE_PASSDB_AUTHENTICATION="1"
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"
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
775 ++ #ENABLE_SU_AUTHENTICATION="0"
777 ++ # Require all users to be in the passdb, regardless of authentication method
778 ++ #ENABLE_USER_DB="0"
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"
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"
794 ++ # If ENABLE_SLAVE_MODE="1" the user will be just logged in _once_ and the
795 ++ # communication is done via nxnode slave mode.
797 ++ # This is useful for one time passwords or to have less traffic in utmp
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.
803 ++ # For this to work the binary nxserver-helper has to be installed in
806 ++ #ENABLE_SLAVE_MODE="0"
808 ++ #########################################################################
809 ++ # Restriction directives
810 ++ #########################################################################
812 ++ # The base display number from which sessions are started.
813 ++ #DISPLAY_BASE=1000
815 ++ # The maximum number of contemporary sessions that can be run on FreeNX
816 ++ #SESSION_LIMIT=200
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
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
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"
831 ++ # Users and groups for whom persistent sessions should be disabled.
832 ++ # Especially useful if ENABLE_PERSISTENT_SESSION="all"
833 ++ #DISABLE_PERSISTENT_SESSION=""
835 ++ # This enables the mirroring of running sessions via VNC feature.
837 ++ # Session is marked as resumable and type is vnc-mirrored.
839 ++ #ENABLE_MIRROR_VIA_VNC=1
841 ++ # This enables the sharing of :0 via VNC feature.
843 ++ # Session is marked as resumable and type is vnc-local.
845 ++ # Note: You need to have the rights to access the display
846 ++ # else it does not work.
848 ++ #ENABLE_DESKTOP_SHARING=1
851 ++ # Enable or disable clipboard:
853 ++ # client: The content copied on the client can be pasted inside the
856 ++ # server: The content copied inside the NX session can be pasted
859 ++ # both: The copy&paste operations are allowed both between the
860 ++ # client and the NX session and vice-versa.
862 ++ # none: The copy&paste operations between the client and the NX
863 ++ # session are never allowed.
865 ++ #ENABLE_CLIPBOARD="both"
869 ++ # Enable or disable the pulldown dialog, which provides a graphical
870 ++ # way to suspend or terminate the rootless session:
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.
877 ++ # 0: Disabled. The ctrl+alt+T key combination has to be issued
878 ++ # to get the dialog for suspending or terminating the session.
880 ++ #ENABLE_PULLDOWN_MENU="1"
883 ++ # The option USE_PROCESSOR_TASKSET is for setting the CPU affinity of all
884 ++ # nx related processes.
886 ++ # Note: To have for example startkde run on even another core, just specify:
888 ++ # COMMAND_STARTKDE="taskset -c 2 -- startkde"
890 ++ # FreeNX runs this option like: $COMMAND_TASKSET -cp "$USE_PROCESSOR_TASKSET" $$
892 ++ # So with $USE_PROCESSOR_TASKSET set to 3,4 it would balance the tasks to cores
895 ++ # If this option is empty, no balance to cores is done.
897 ++ #USE_PROCESSOR_TASKSET=""
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.
902 ++ # Note: The client will return a message on that.
904 ++ #ENABLE_ADVANCED_SESSION_CONTROL="0"
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
910 ++ #ENABLE_SHOW_RUNNING_SESSIONS="1"
912 ++ #########################################################################
913 ++ # Logging directives
914 ++ #########################################################################
916 ++ # This directives controls the verbosity of the server-wide log.
920 ++ # 3: Important information
921 ++ # 4: Server - Client communication
923 ++ # 6: Debugging information
924 ++ # 7: stderror of some applications
927 ++ # By setting this to 0 the nxserver might be a bit faster, but passwords can be found in the log files.
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
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
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
948 ++ #########################################################################
949 ++ # Forwarding directives
950 ++ #########################################################################
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.
956 ++ # This allows to have a "chain" of NX Servers. Note that you will need to
957 ++ # use "SSL encryption" for all connections.
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"
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.
971 ++ # Note: You need to let SSHD listen to several ports to make use of this
974 ++ #ENABLE_NOMACHINE_FORWARD_PORT="0"
975 ++ #NOMACHINE_FORWARD_PORT="22"
977 ++ #NOMACHINE_SERVER="/usr/NX/bin/nxserver"
978 ++ #NOMACHINE_NX_HOME_DIR="/usr/NX/home/nx"
984 ++ # To do load balancing setup some hosts in LOAD_BALANCE_SERVERS and
987 ++ # - either sure that all incoming connections are sent to the master
988 ++ # server by using forwarding directives on the "slave" servers.
990 ++ # - or share the session database space via NFS between the servers.
991 ++ # (not recommended at the moment as race conditions for DISPLAYs can
995 ++ #LOAD_BALANCE_SERVERS=""
997 ++ # The following load_balance_algorithms are available at the moment:
999 ++ # "load", "round-robin", "random"
1001 ++ # For "load" you need a script called nxcheckload in PATH_BIN.
1003 ++ # A sample script, which you can change to your needs it shipped with
1004 ++ # FreeNX under the name nxcheckload.sample.
1006 ++ #LOAD_BALANCE_ALGORITHM="random"
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.
1013 ++ #ENABLE_LOAD_BALANCE_PREFERENCE="0"
1015 ++ #########################################################################
1016 ++ # Services directives
1017 ++ #########################################################################
1019 ++ # FreeNX with ENABLE_ESD_PRELOAD="1" will automatically try to setup
1020 ++ # the sound with the help of the esd media helper.
1022 ++ # Currently ESD will be used just by the Windows NX Client.
1024 ++ # Be sure that $ESD_BIN_PRELOAD is in your path, does exist and work
1025 ++ # before enabling this directive.
1027 ++ #ENABLE_ESD_PRELOAD="0"
1028 ++ #ESD_BIN_PRELOAD="esddsp"
1030 ++ # FreeNX with ENABLE_ARTSD_PRELOAD="1" will automatically try to setup
1031 ++ # the sound with the help of the artsd media helper.
1033 ++ # Currently ARTSD will be used just by the Linux NX Client.
1035 ++ # Be sure that $ARTSD_BIN_PRELOAD is in your path, does exist and work
1036 ++ # before enabling this directive.
1038 ++ #ENABLE_ARTSD_PRELOAD="0"
1039 ++ #ARTSD_BIN_PRELOAD="artsdsp"
1041 ++ # FreeNX with ENABLE_KDE_CUPS="1" will automatically write
1042 ++ # $KDE_PRINTRC and put the current used socket into it.
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.
1048 ++ # The order is: CUPS_SERVER (env var), ~/.cups/client.conf, $KDE_PRINTRC,
1049 ++ # $CUPS_DEFAULT_SOCK, localhost
1051 ++ # So this option is most useful with ENABLE_CUPS_SERVER_EXPORT="1".
1053 ++ # $KDE_PRINTRC is automatically calculated if its not set.
1055 ++ #ENABLE_KDE_CUPS="0"
1056 ++ #ENABLE_KDE_CUPS_DYNAMIC="0"
1057 ++ #KDE_PRINTRC="$KDEHOME/share/config/kdeprintrc"
1059 ++ # FreeNX with ENABLE_CUPS_SERVER_EXPORT="1" will automatically
1060 ++ # export the environment variable CUPS_SERVER.
1062 ++ #ENABLE_CUPS_SERVER_EXPORT="1"
1064 ++ # FreeNX with ENABLE_CUPS_SEAMLESS will automatically try to download the
1065 ++ # necessary ppds from the client.
1067 ++ # As the forwarding is just active as soon as nxagent is started,
1068 ++ # we need a small delay of $CUPS_SEAMLESS_DELAY.
1070 ++ # Note: You need to use a patched cupsd on client side.
1072 ++ #ENABLE_CUPS_SEAMLESS="0"
1073 ++ #CUPS_SEAMLESS_DELAY="10"
1075 ++ # FreeNX with ENABLE_FOOMATIC will integrate the foomatic db to the list
1076 ++ # of available ppd drivers via the $COMMAND_FOOMATIC command.
1078 ++ #ENABLE_FOOMATIC="1"
1079 ++ #COMMAND_FOOMATIC="/usr/lib/cups/driver/foomatic-ppdfile"
1081 ++ # CUPS_BACKEND and CUPS_ETC are the corresponding paths of your CUPS
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"
1089 ++ # SAMBA_MOUNT_SHARE_PROTOCOL is a key to configure the supported
1090 ++ # protocols for mounting shares.
1092 ++ # This key can be set to the following values:
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.
1099 ++ #SAMBA_MOUNT_SHARE_PROTOCOL="both"
1101 ++ # FreeNX with ENABLE_SAMBA_PRELOAD="1" will automatically setup
1102 ++ # port 445 and 139 and forward them to the used samba port.
1104 ++ # This enables samba browsing to the local subnet in for example
1107 ++ #ENABLE_SAMBA_PRELOAD="0"
1109 ++ #########################################################################
1110 ++ # Path directives
1111 ++ #########################################################################
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
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"
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.
1131 ++ #KILL_DEFAULT_X_WM="1"
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
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
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
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
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
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
1158 ++ #COMMAND_XTERM=xterm
1160 ++ # The key that contains the name of the complete path of command name
1162 ++ #COMMAND_XAUTH=/usr/X11R6/bin/xauth
1164 ++ # The key that contains the name of the complete path of command name
1166 ++ #COMMAND_SMBMOUNT=smbmount
1168 ++ # The key that contains the name of the complete path of command name
1170 ++ #COMMAND_SMBUMOUNT=smbumount
1172 ++ # The key that contains the name of the complete path of command name
1174 ++ #COMMAND_SMBMOUNT_CIFS=/sbin/mount.cifs
1176 ++ # The key that contains the name of the complete path of command name
1178 ++ #COMMAND_SMBUMOUNT_CIFS=/sbin/umount.cifs
1180 ++ # The key that contains the name of the complete path of the 'netcat' command.
1181 ++ #COMMAND_NETCAT=netcat
1183 ++ # The key that contains the name of the complete path of the 'ssh' and
1184 ++ # 'ssh-keygen' command.
1186 ++ #COMMAND_SSH_KEYGEN=ssh-keygen
1188 ++ # The key that contains the name of the complete path of the 'cupsd' command.
1189 ++ #COMMAND_CUPSD=/usr/sbin/cupsd
1191 ++ # The tool to generate md5sums with
1192 ++ #COMMAND_MD5SUM="openssl md5"
1194 ++ # The key that contains the name of the complete path of the 'rdesktop' command.
1195 ++ #COMMAND_RDESKTOP=rdesktop
1197 ++ # The key that contains the name of the complete path of the 'vncviewer' command.
1198 ++ #COMMAND_VNCVIEWER=vncviewer
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"
1204 ++ # The key that contains the name of the complete path of the 'x11vnc' command.
1205 ++ #COMMAND_X11VNC=x11vnc
1207 ++ # The key that contains the name of the complete path of the 'taskset' command.
1208 ++ #COMMAND_TASKSET=taskset
1210 ++ #########################################################################
1211 ++ # Misc directives
1212 ++ #########################################################################
1214 ++ # When you installed an old 1.5.0 NX Backend, set this to 1.
1215 ++ #ENABLE_1_5_0_BACKEND="0"
1217 ++ # When set to 1 this will automatically resume started sessions
1218 ++ #ENABLE_AUTORECONNECT="0"
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"
1224 ++ # When set to 1 exports NXUSERIP / NXSESSIONID in nxnode
1225 ++ #EXPORT_USERIP="0"
1226 ++ #EXPORT_SESSIONID="1"
1228 ++ # This can be set to any executable, which is started after session startup
1229 ++ # like: $NODE_AUTOSTART {start|restore}
1230 ++ #NODE_AUTOSTART=""
1232 ++ # When set to 1 will start nxagent in rootless mode.
1233 ++ #ENABLE_ROOTLESS_MODE="1"
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"
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=""
1249 ++ # The number of seconds we wait for the nxagent to start before
1250 ++ # deciding startup has failed
1251 ++ #AGENT_STARTUP_TIMEOUT="60"
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=""
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=""
1266 ++ # Extra options to nxproxy. See !M documentation for useful parameters.
1267 ++ #PROXY_EXTRA_OPTIONS=""
1269 ++ # In case you want to use an external 'rdesktop' command
1270 ++ # set this to "1".
1272 ++ # If nxdesktop cannot be found this is set automatically to "1".
1273 ++ #ENABLE_EXTERNAL_NXDESKTOP="0"
1275 ++ # This configuration variable determines if 'rdesktop' command should be run with -k keyboard option
1276 ++ # or if the keyboard should be autodetected.
1278 ++ #ENABLE_EXTERNAL_NXDESKTOP_KEYBOARD="1"
1280 ++ # In case you want to use an external 'nxviewer' command
1281 ++ # set this to "1".
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
1292 + # The key that contains the name of the complete path of command name
1294 +- #COMMAND_XAUTH=/usr/X11R6/bin/xauth
1296 + # The key that contains the name of the complete path of command name
1300 + # The key that contains the name of the complete path of command name
1302 ++ COMMAND_XAUTH=xauth
1304 ++ COMMAND_XSET=xset
1306 ++ COMMAND_XMODMAP=xmodmap
1308 ++ COMMAND_XKBCOMP=xkbcomp
1310 + # The key that contains the name of the complete path of command name
1314 + # for examples of useful parameters.
1315 + #AGENT_EXTRA_OPTIONS_RFB=""
1316 + #AGENT_EXTRA_OPTIONS_RDP=""
1317 +- #AGENT_EXTRA_OPTIONS_X=""
1319 + # The number of seconds we wait for the nxagent to start before
1320 + # deciding startup has failed
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/"
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
1333 # Where can different nx components be found
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
1342 APPLICATION_LIBRARY_PRELOAD="" #Calculated
1344 # the name of the authorized keys file for ssh
1345 -SSH_AUTHORIZED_KEYS="authorized_keys2"
1346 +SSH_AUTHORIZED_KEYS="authorized_keys"
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