Magellan Linux

Contents of /trunk/nxserver-freenx/patches/nxserver-freenx-0.7.3-increase-base-ports.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1796 - (show annotations) (download)
Tue Jun 5 11:54:30 2012 UTC (11 years, 10 months ago) by niro
File size: 1574 byte(s)
-added more patches
1 diff -Naur freenx-server-0.7.3/node.conf.sample freenx-server-0.7.3-magellan/node.conf.sample
2 --- freenx-server-0.7.3/node.conf.sample 2012-06-05 14:08:21.349982661 +0200
3 +++ freenx-server-0.7.3-magellan/node.conf.sample 2012-06-05 14:51:20.102982654 +0200
4 @@ -125,7 +125,7 @@
5 #########################################################################
6
7 # The base display number from which sessions are started.
8 -#DISPLAY_BASE=1000
9 +#DISPLAY_BASE=2000
10
11 # The maximum number of contemporary sessions that can be run on FreeNX
12 #SESSION_LIMIT=200
13 diff -Naur freenx-server-0.7.3/nxloadconfig freenx-server-0.7.3-magellan/nxloadconfig
14 --- freenx-server-0.7.3/nxloadconfig 2012-06-05 14:09:03.869982661 +0200
15 +++ freenx-server-0.7.3-magellan/nxloadconfig 2012-06-05 14:50:29.926982662 +0200
16 @@ -112,7 +112,7 @@
17
18 # Restriction directives
19
20 -DISPLAY_BASE=1000
21 +DISPLAY_BASE=2000
22 SESSION_LIMIT=200
23 SESSION_USER_LIMIT="" #Calculated
24 DISPLAY_LIMIT=200
25 diff -Naur freenx-server-0.7.3/nxserver freenx-server-0.7.3-magellan/nxserver
26 --- freenx-server-0.7.3/nxserver 2012-06-05 13:59:05.829982661 +0200
27 +++ freenx-server-0.7.3-magellan/nxserver 2012-06-05 14:53:22.257982660 +0200
28 @@ -1482,7 +1482,7 @@
29 done
30
31 # Check if there is already an agent running on that display on that host
32 - let AGENT_DISPLAY=$SESS_DISPLAY+6000
33 + let AGENT_DISPLAY=$SESS_DISPLAY-$DISPLAY_BASE+6000
34 if $COMMAND_NETCAT -z "$SERVER_HOST" $AGENT_DISPLAY 2>/dev/null
35 then
36 log 2 "Warning: Stray nxagent without .nX$SESS_DISPLAY-lock found on host:port $SERVER_HOST:$AGENT_DISPLAY."