Changeset 1018
- Timestamp:
- 01/23/06 14:07:02 (3 years ago)
- Files:
-
- trunk/ATTACHMENTS/freenx/NX-lfs_hint.diff (modified) (1 diff)
- trunk/ATTACHMENTS/freenx/freenx-lfs_hint.diff (modified) (3 diffs)
- trunk/freenx.txt (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/ATTACHMENTS/freenx/NX-lfs_hint.diff
r1011 r1018 1 Submitted By: Jaap Struyk <japie at deserver dot nl> 2 Date: 2006-01-04 3 Initial Package Version: 1.5 4 Upstream Status: Not submitted - LFS Specific 5 Origin: http://patches.linuxfromscratch.org 6 Description: This patch is for the LFS freenx hint, 7 and will patch various NX programs. 8 1 9 --- nxviewer/nxviewer/Imakefile.old 2004-05-31 15:33:45.000000000 +0000 2 10 +++ nxviewer/nxviewer/Imakefile 2004-05-31 15:35:06.000000000 +0000 trunk/ATTACHMENTS/freenx/freenx-lfs_hint.diff
r1011 r1018 1 --- nxloadconfig.old2005-02-14 01:08:56.482546352 +0100 2 +++ nxloadconfig2005-02-14 01:09:40.109913984 +0100 1 Submitted By: Jaap Struyk <japie at deserver dot nl> 2 Date: 2006-01-04 3 Initial Package Version: 1.5 4 Upstream Status: Not submitted - LFS Specific 5 Origin: http://patches.linuxfromscratch.org 6 Description: This patch is for the LFS freenx hint, 7 and will modify the server scripts. 8 9 --- nxloadconfig.old 2005-02-14 01:08:56.482546352 +0100 10 +++ nxloadconfig 2005-02-14 01:09:40.109913984 +0100 3 11 @@ -53,12 +53,12 @@ 4 12 NX_LICENSE="OS (GPL)" … … 18 26 # Advanced users ONLY 19 27 AGENT_LIBRARY_PATH="" #Calculated 20 --- nxloadconfig.orig 2005-05-05 01:34:20.000000000 -070021 +++ nxloadconfig 2005-06-28 20:53:11.000000000 -070028 --- nxloadconfig.orig 2005-05-05 01:34:20.000000000 -0700 29 +++ nxloadconfig 2005-06-28 20:53:11.000000000 -0700 22 30 @@ -153,7 +153,7 @@ 23 31 COMMAND_XAUTH=/usr/X11R6/bin/xauth … … 29 37 COMMAND_SSH_KEYGEN=ssh-keygen 30 38 COMMAND_CUPSD=/usr/sbin/cupsd 31 --- nxloadconfig.orig 2005-08-02 10:32:11.000000000 -070032 +++ nxloadconfig 2005-08-03 14:01:08.000000000 -070039 --- nxloadconfig.orig 2005-08-02 10:32:11.000000000 -0700 40 +++ nxloadconfig 2005-08-03 14:01:08.000000000 -0700 33 41 @@ -168,7 +168,7 @@ 34 42 EXPORT_SESSIONID="0" trunk/freenx.txt
r1011 r1018 65 65 66 66 http://debian.tu-bs.de/knoppix/nx/freenx-0.4.4.tar.gz 67 or 68 http://www.iem.pw.edu.pl/ftp/distfiles/freenx-0.4.4.tar.gz 69 70 * Latest version of this hint available at 71 72 http://www.linuxfromscratch.org/hints/downloads/files/freenx.txt 73 or 74 http://www.japie.deserver.nl/ftp/HLFS/freenx.hint 75 76 NEEDED PATCHES: 77 78 * Patch for the NX packages 79 80 81 http://www.linuxfromscratch.org/hints/downloads/attachments/freenx/NX-lfs_hint.diff 82 or 83 http://www.japie.deserver.nl/ftp/HLFS/NX-lfs_hint.diff 84 85 * Patch for freenx 86 87 88 http://www.linuxfromscratch.org/hints/downloads/attachments/freenx/freenx-lfs_hint.diff 89 or 90 http://www.japie.deserver.nl/ftp/HLFS/freenx-lfs_hint.diff 67 91 68 92 HINT: … … 76 100 3. Configuration 77 101 4. Setup client 78 5. Notes 79 6. References 102 5. References 80 103 81 104 ================ … … 102 125 rm *.tar.gz 103 126 104 # apply the patch...127 # apply the NX patch... 105 128 patch -p0 < NX-lfs_hint.diff 106 129 … … 190 213 mkdir -p /srv/NX/home/nx 191 214 pushd freenx-0.4.4 192 193 215 # apply the freenx patch... 194 patch -p0 < freenx-lfs_hint.diff 195 find . -type f -perm +u+x -exec cp -a {} /srv/NX/bin/ \; 216 patch -p0 < ../freenx-lfs_hint.diff 217 cp -a nxnode /srv/NX/bin 218 cp -a nxserver /srv/NX/bin 219 cp -a nxsetup /srv/NX/bin 220 cp -a nxkeygen /srv/NX/bin 221 cp -a nxnode-login /srv/NX/bin 222 cp -a nxloadconfig /srv/NX/bin 223 cp -a nxclient /srv/NX/bin 224 cp -a nxprint /srv/NX/bin 196 225 install -m 755 node.conf.sample /srv/NX/etc 197 226 popd … … 205 234 groupadd -g 77 nx 206 235 useradd -c 'FreeNX user' -d /srv/NX/home/nx -g nx -s /bin/bash -u 77 nx 236 passwd -u nx 207 237 chown -R root.root /srv/NX 208 238 chown -R nx.nx /srv/NX/home/nx … … 223 253 ENABLE_1_5_0_BACKEND="1" (don't forget to remove the coment) 224 254 255 # user setup... 256 The first thing is to lett freenx find a way to auth your user, the 257 easyest is using your own ssh setup. 258 Edit /srv/NX/etc/node.conf: 259 ENABLE_SSH_AUTHENTICATION="1" 260 And don't forget to remove the # from this line ;-) 261 copy /srv/NX/home/nx/.ssh/client.id_dsa.key to your local machine for 262 import in your nxclient. 263 225 264 ================ 226 265 4. SETUP CLIENT: … … 229 268 # client setup... 230 269 http://64.34.161.181/download/1.5.0/client/xft/nxclient-1.5.0-113.i386.tar.gz 231 extract to /opt 270 extract to /opt and add the path /opt/NX/bin to your profile. 232 271 Pitty it needs libstdc++-libc6.2-2.so.3 so you have to compile gcc-2.9x 233 272 and find it. 234 copy /srv/NX/home/nx/.ssh/client.id_dsa.key to your local machine and 235 import in your nxclient. 236 Now you would be able to login as user nx. 237 238 ========= 239 5. NOTES: 240 ========= 241 242 # user setup... 243 Off course we don't want to login as user nx but as our self. 244 If you want to login as another user you have to make sure that the ssh 245 part is properly setup, 246 the easy way is to copy the contens of /srv/NX/home/nx/.ssh to your own 247 .ssh dir (on the server side) 248 and set permission to yourself. 249 The second thing is to lett freenx find a way to auth your user, the 250 easyest is using your own ssh setup 251 Edit /srv/NX/etc/node.conf: 252 ENABLE_SSH_AUTHENTICATION="1" 253 Have fun!!! 273 Start with: "nxclient --wizard" and follow the steps, at the end choose 274 for 275 "Advanced configuration Dialog" where you can import the 276 client.id_dsa.key from above. 277 Now you would be able to login as any user would via ssh. 278 Have fun! 254 279 255 280 ============== 256 7. REFERENCES:281 5. REFERENCES: 257 282 ============== 258 283 259 284 http://www.gnomeuser.org/documents/howto/nx.html 260 285 http://fedoranews.org/contributors/rick_stout/freenx/ 261 Rick Stout's spec file.286 Rick Stout's spec file. 262 287 263 288 CHANGELOG: … … 267 292 * Upgraded some packages. 268 293 * Eased up build order. 269 294 [2006-01-05] 295 * Fixed some problems with installing freenx scripts. 296 * Fixed the freenx patch. 297 * Unlock the nx user. 298 * Minor changes. 299 [2006-01-21] 300 * Added download location for the patches. 301
