Changeset 1018

Show
Ignore:
Timestamp:
01/23/06 14:07:02 (3 years ago)
Author:
archaic
Message:

Updated freenx hint.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/ATTACHMENTS/freenx/NX-lfs_hint.diff

    r1011 r1018  
     1Submitted By: Jaap Struyk <japie at deserver dot nl> 
     2Date: 2006-01-04 
     3Initial Package Version: 1.5 
     4Upstream Status: Not submitted - LFS Specific 
     5Origin: http://patches.linuxfromscratch.org 
     6Description: This patch is for the LFS freenx hint, 
     7             and will patch various NX programs. 
     8 
    19--- nxviewer/nxviewer/Imakefile.old     2004-05-31 15:33:45.000000000 +0000 
    210+++ 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 
     1Submitted By: Jaap Struyk <japie at deserver dot nl> 
     2Date: 2006-01-04 
     3Initial Package Version: 1.5 
     4Upstream Status: Not submitted - LFS Specific 
     5Origin: http://patches.linuxfromscratch.org 
     6Description: 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 
    311@@ -53,12 +53,12 @@ 
    412 NX_LICENSE="OS (GPL)" 
     
    1826 # Advanced users ONLY 
    1927 AGENT_LIBRARY_PATH="" #Calculated 
    20 --- nxloadconfig.orig2005-05-05 01:34:20.000000000 -0700 
    21 +++ nxloadconfig2005-06-28 20:53:11.000000000 -0700 
     28--- nxloadconfig.orig  2005-05-05 01:34:20.000000000 -0700 
     29+++ nxloadconfig       2005-06-28 20:53:11.000000000 -0700 
    2230@@ -153,7 +153,7 @@ 
    2331 COMMAND_XAUTH=/usr/X11R6/bin/xauth 
     
    2937 COMMAND_SSH_KEYGEN=ssh-keygen 
    3038 COMMAND_CUPSD=/usr/sbin/cupsd 
    31 --- nxloadconfig.orig2005-08-02 10:32:11.000000000 -0700 
    32 +++ nxloadconfig2005-08-03 14:01:08.000000000 -0700 
     39--- nxloadconfig.orig  2005-08-02 10:32:11.000000000 -0700 
     40+++ nxloadconfig       2005-08-03 14:01:08.000000000 -0700 
    3341@@ -168,7 +168,7 @@ 
    3442 EXPORT_SESSIONID="0" 
  • trunk/freenx.txt

    r1011 r1018  
    6565     
    6666    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     
     76NEEDED PATCHES: 
     77 
     78  * Patch for the NX packages 
     79 
     80    
     81http://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    
     88http://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 
    6791 
    6892HINT: 
     
    76100        3. Configuration 
    77101        4. Setup client 
    78         5. Notes 
    79         6. References 
     102        5. References 
    80103 
    81104================ 
     
    102125rm *.tar.gz 
    103126 
    104 # apply the patch... 
     127# apply the NX patch... 
    105128patch -p0 < NX-lfs_hint.diff 
    106129 
     
    190213mkdir -p /srv/NX/home/nx 
    191214pushd freenx-0.4.4 
    192  
    193215# apply the freenx patch... 
    194 patch -p0 < freenx-lfs_hint.diff 
    195 find . -type f -perm +u+x -exec cp -a {} /srv/NX/bin/ \; 
     216patch -p0 < ../freenx-lfs_hint.diff 
     217cp -a nxnode /srv/NX/bin 
     218cp -a nxserver /srv/NX/bin 
     219cp -a nxsetup /srv/NX/bin 
     220cp -a nxkeygen /srv/NX/bin 
     221cp -a nxnode-login /srv/NX/bin 
     222cp -a nxloadconfig /srv/NX/bin 
     223cp -a nxclient /srv/NX/bin 
     224cp -a nxprint /srv/NX/bin 
    196225install -m 755 node.conf.sample /srv/NX/etc 
    197226popd 
     
    205234groupadd -g 77 nx 
    206235useradd -c 'FreeNX user' -d /srv/NX/home/nx -g nx -s /bin/bash -u 77 nx 
     236passwd -u nx 
    207237chown -R root.root /srv/NX 
    208238chown -R nx.nx /srv/NX/home/nx  
     
    223253ENABLE_1_5_0_BACKEND="1" (don't forget to remove the coment) 
    224254 
     255# user setup... 
     256The first thing is to lett freenx find a way to auth your user, the 
     257easyest is using your own ssh setup. 
     258Edit /srv/NX/etc/node.conf: 
     259ENABLE_SSH_AUTHENTICATION="1" 
     260And don't forget to remove the # from this line ;-) 
     261copy /srv/NX/home/nx/.ssh/client.id_dsa.key to your local machine for 
     262import in your nxclient. 
     263 
    225264================ 
    2262654. SETUP CLIENT: 
     
    229268# client setup... 
    230269http://64.34.161.181/download/1.5.0/client/xft/nxclient-1.5.0-113.i386.tar.gz 
    231 extract to /opt 
     270extract to /opt and add the path /opt/NX/bin to your profile. 
    232271Pitty it needs libstdc++-libc6.2-2.so.3 so you have to compile gcc-2.9x 
    233272and 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!!! 
     273Start with: "nxclient --wizard" and follow the steps, at the end choose 
     274for 
     275"Advanced configuration Dialog" where you can import the 
     276client.id_dsa.key from above. 
     277Now you would be able to login as any user would via ssh. 
     278Have fun! 
    254279 
    255280============== 
    256 7. REFERENCES: 
     2815. REFERENCES: 
    257282============== 
    258283 
    259284http://www.gnomeuser.org/documents/howto/nx.html 
    260285http://fedoranews.org/contributors/rick_stout/freenx/ 
    261 Rick Stout's spec file. 
     286Rick Stout's spec file. 
    262287 
    263288CHANGELOG: 
     
    267292  * Upgraded some packages. 
    268293  * 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