r1018 - in trunk: . ATTACHMENTS/freenx

archaic at linuxfromscratch.org archaic at linuxfromscratch.org
Mon Jan 23 13:07:04 PST 2006


Author: archaic
Date: 2006-01-23 14:07:02 -0700 (Mon, 23 Jan 2006)
New Revision: 1018

Modified:
   trunk/ATTACHMENTS/freenx/NX-lfs_hint.diff
   trunk/ATTACHMENTS/freenx/freenx-lfs_hint.diff
   trunk/freenx.txt
Log:
Updated freenx hint.

Modified: trunk/ATTACHMENTS/freenx/NX-lfs_hint.diff
===================================================================
--- trunk/ATTACHMENTS/freenx/NX-lfs_hint.diff	2006-01-19 01:46:13 UTC (rev 1017)
+++ trunk/ATTACHMENTS/freenx/NX-lfs_hint.diff	2006-01-23 21:07:02 UTC (rev 1018)
@@ -1,3 +1,11 @@
+Submitted By: Jaap Struyk <japie at deserver dot nl>
+Date: 2006-01-04
+Initial Package Version: 1.5
+Upstream Status: Not submitted - LFS Specific
+Origin: http://patches.linuxfromscratch.org
+Description: This patch is for the LFS freenx hint,
+	     and will patch various NX programs.
+
 --- nxviewer/nxviewer/Imakefile.old	2004-05-31 15:33:45.000000000 +0000
 +++ nxviewer/nxviewer/Imakefile	2004-05-31 15:35:06.000000000 +0000
 @@ -44,6 +44,8 @@

Modified: trunk/ATTACHMENTS/freenx/freenx-lfs_hint.diff
===================================================================
--- trunk/ATTACHMENTS/freenx/freenx-lfs_hint.diff	2006-01-19 01:46:13 UTC (rev 1017)
+++ trunk/ATTACHMENTS/freenx/freenx-lfs_hint.diff	2006-01-23 21:07:02 UTC (rev 1018)
@@ -1,5 +1,13 @@
---- nxloadconfig.old2005-02-14 01:08:56.482546352 +0100
-+++ nxloadconfig2005-02-14 01:09:40.109913984 +0100
+Submitted By: Jaap Struyk <japie at deserver dot nl>
+Date: 2006-01-04
+Initial Package Version: 1.5
+Upstream Status: Not submitted - LFS Specific
+Origin: http://patches.linuxfromscratch.org
+Description: This patch is for the LFS freenx hint,
+	     and will modify the server scripts.
+
+--- nxloadconfig.old	2005-02-14 01:08:56.482546352 +0100
++++ nxloadconfig	2005-02-14 01:09:40.109913984 +0100
 @@ -53,12 +53,12 @@
  NX_LICENSE="OS (GPL)"
  
@@ -17,8 +25,8 @@
  
  # Advanced users ONLY
  AGENT_LIBRARY_PATH="" #Calculated
---- nxloadconfig.orig2005-05-05 01:34:20.000000000 -0700
-+++ nxloadconfig2005-06-28 20:53:11.000000000 -0700
+--- nxloadconfig.orig	2005-05-05 01:34:20.000000000 -0700
++++ nxloadconfig	2005-06-28 20:53:11.000000000 -0700
 @@ -153,7 +153,7 @@
  COMMAND_XAUTH=/usr/X11R6/bin/xauth
  COMMAND_SMBMOUNT=smbmount
@@ -28,8 +36,8 @@
  COMMAND_SSH=ssh
  COMMAND_SSH_KEYGEN=ssh-keygen
  COMMAND_CUPSD=/usr/sbin/cupsd
---- nxloadconfig.orig2005-08-02 10:32:11.000000000 -0700
-+++ nxloadconfig2005-08-03 14:01:08.000000000 -0700
+--- nxloadconfig.orig	2005-08-02 10:32:11.000000000 -0700
++++ nxloadconfig	2005-08-03 14:01:08.000000000 -0700
 @@ -168,7 +168,7 @@
  EXPORT_SESSIONID="0"
  NODE_AUTOSTART=""

Modified: trunk/freenx.txt
===================================================================
--- trunk/freenx.txt	2006-01-19 01:46:13 UTC (rev 1017)
+++ trunk/freenx.txt	2006-01-23 21:07:02 UTC (rev 1018)
@@ -64,7 +64,31 @@
     --> http://freenx.berlios.de
     
     http://debian.tu-bs.de/knoppix/nx/freenx-0.4.4.tar.gz
+    or
+    http://www.iem.pw.edu.pl/ftp/distfiles/freenx-0.4.4.tar.gz
 
+  * Latest version of this hint available at 
+    
+    http://www.linuxfromscratch.org/hints/downloads/files/freenx.txt
+    or
+    http://www.japie.deserver.nl/ftp/HLFS/freenx.hint
+    
+NEEDED PATCHES:
+
+  * Patch for the NX packages
+
+   
+http://www.linuxfromscratch.org/hints/downloads/attachments/freenx/NX-lfs_hint.diff
+    or
+    http://www.japie.deserver.nl/ftp/HLFS/NX-lfs_hint.diff
+
+  * Patch for freenx
+
+   
+http://www.linuxfromscratch.org/hints/downloads/attachments/freenx/freenx-lfs_hint.diff
+    or
+    http://www.japie.deserver.nl/ftp/HLFS/freenx-lfs_hint.diff
+
 HINT:
 
 =========
@@ -75,8 +99,7 @@
         2. Installation
         3. Configuration
         4. Setup client
-        5. Notes
-        6. References
+        5. References
 
 ================
 1. INTRODUCTION:
@@ -101,7 +124,7 @@
 find . -name "*tar.gz" -exec tar -zxf {} \;
 rm *.tar.gz
 
-# apply the patch...
+# apply the NX patch...
 patch -p0 < NX-lfs_hint.diff
 
 # modify the configure scripts...
@@ -189,10 +212,16 @@
 mkdir -p /srv/NX/home
 mkdir -p /srv/NX/home/nx
 pushd freenx-0.4.4
-
 # apply the freenx patch...
-patch -p0 < freenx-lfs_hint.diff
-find . -type f -perm +u+x -exec cp -a {} /srv/NX/bin/ \;
+patch -p0 < ../freenx-lfs_hint.diff
+cp -a nxnode /srv/NX/bin
+cp -a nxserver /srv/NX/bin
+cp -a nxsetup /srv/NX/bin
+cp -a nxkeygen /srv/NX/bin
+cp -a nxnode-login /srv/NX/bin
+cp -a nxloadconfig /srv/NX/bin
+cp -a nxclient /srv/NX/bin
+cp -a nxprint /srv/NX/bin
 install -m 755 node.conf.sample /srv/NX/etc
 popd
 
@@ -204,6 +233,7 @@
 tpe_gid...
 groupadd -g 77 nx
 useradd -c 'FreeNX user' -d /srv/NX/home/nx -g nx -s /bin/bash -u 77 nx
+passwd -u nx
 chown -R root.root /srv/NX
 chown -R nx.nx /srv/NX/home/nx 
 /srv/NX/bin/nxsetup --install --uid 77 --gid 77
@@ -222,43 +252,38 @@
 matches:
 ENABLE_1_5_0_BACKEND="1" (don't forget to remove the coment)
 
+# user setup...
+The first thing is to lett freenx find a way to auth your user, the
+easyest is using your own ssh setup.
+Edit /srv/NX/etc/node.conf:
+ENABLE_SSH_AUTHENTICATION="1"
+And don't forget to remove the # from this line ;-)
+copy /srv/NX/home/nx/.ssh/client.id_dsa.key to your local machine for
+import in your nxclient.
+
 ================
 4. SETUP CLIENT:
 ================
 
 # client setup...
 http://64.34.161.181/download/1.5.0/client/xft/nxclient-1.5.0-113.i386.tar.gz
-extract to /opt
+extract to /opt and add the path /opt/NX/bin to your profile.
 Pitty it needs libstdc++-libc6.2-2.so.3 so you have to compile gcc-2.9x
 and find it.
-copy /srv/NX/home/nx/.ssh/client.id_dsa.key to your local machine and
-import in your nxclient.
-Now you would be able to login as user nx.
+Start with: "nxclient --wizard" and follow the steps, at the end choose
+for
+"Advanced configuration Dialog" where you can import the
+client.id_dsa.key from above.
+Now you would be able to login as any user would via ssh.
+Have fun!
 
-=========
-5. NOTES:
-=========
-
-# user setup...
-Off course we don't want to login as user nx but as our self.
-If you want to login as another user you have to make sure that the ssh
-part is properly setup,
-the easy way is to copy the contens of /srv/NX/home/nx/.ssh to your own
-.ssh dir (on the server side)
-and set permission to yourself.
-The second thing is to lett freenx find a way to auth your user, the
-easyest is using your own ssh setup
-Edit /srv/NX/etc/node.conf:
-ENABLE_SSH_AUTHENTICATION="1"
-Have fun!!!
-
 ==============
-7. REFERENCES:
+5. REFERENCES:
 ==============
 
 http://www.gnomeuser.org/documents/howto/nx.html
 http://fedoranews.org/contributors/rick_stout/freenx/
-Rick Stout's  spec file.
+Rick Stout's spec file.
 
 CHANGELOG:
 [2005-11-29]
@@ -266,4 +291,11 @@
 [2005-12-27]
   * Upgraded some packages.
   * Eased up build order.
+[2006-01-05]
+  * Fixed some problems with installing freenx scripts.
+  * Fixed the freenx patch.
+  * Unlock the nx user.
+  * Minor changes.
+[2006-01-21]
+  * Added download location for the patches.
 




More information about the hints mailing list