diff --git a/LDP/howto/docbook/HOWTO-INDEX/miniChap.sgml b/LDP/howto/docbook/HOWTO-INDEX/miniChap.sgml
index ef5a1137..76c2fa40 100644
--- a/LDP/howto/docbook/HOWTO-INDEX/miniChap.sgml
+++ b/LDP/howto/docbook/HOWTO-INDEX/miniChap.sgml
@@ -1016,7 +1016,7 @@ Multi-Distro-Dev,
Development for Multiple Linux Distributions mini-HOWTO
-Updated: December 2001.
+Updated: August 2002.
Outlines a quick hack to aid in developing and testing
user-space programs for multiple Linux distributions.
diff --git a/LDP/howto/docbook/HOWTO-INDEX/programmSect.sgml b/LDP/howto/docbook/HOWTO-INDEX/programmSect.sgml
index c9efd0a4..1be82e72 100644
--- a/LDP/howto/docbook/HOWTO-INDEX/programmSect.sgml
+++ b/LDP/howto/docbook/HOWTO-INDEX/programmSect.sgml
@@ -763,7 +763,7 @@ Multi-Distro-Dev,
Development for Multiple Linux Distributions mini-HOWTO
-Updated: December 2001.
+Updated: August 2002.
Outlines a quick hack to aid in developing and testing
user-space programs for multiple Linux distributions.
diff --git a/LDP/howto/docbook/Multi-Distro-Dev.sgml b/LDP/howto/docbook/Multi-Distro-Dev.sgml
index 6445d4f2..6090d03e 100644
--- a/LDP/howto/docbook/Multi-Distro-Dev.sgml
+++ b/LDP/howto/docbook/Multi-Distro-Dev.sgml
@@ -12,8 +12,14 @@
and testing user-space programs for multiple Linux
distributions.
- 2001-12-03
+ 2001-03-01
+
+ 0.9.1
+ 2002-08-14
+ EH3
+ Small update for using X11 (sockets).
+
0.9
2001-12-03
@@ -155,10 +161,12 @@ each distribution install.
It is important to use a 2.4-series or newer Linux kernel in the
"primary" Linux distribution in order to take advantage of the
multiple mount points feature that the 2.4-series permits. For many
-tasks, the /proc filesystem will have to be
-remounted in the secondary distribution using:
+tasks, the /proc and /tmp
+filesystems will have to be remounted in the secondary distribution
+using:
-mount --bind /proc /opt/distros/redhat_6.2/proc
+mount --bind /proc /opt/distros/redhat_6.2/proc
+mount --bind /tmp /opt/distros/redhat_6.2/tmp
@@ -173,15 +181,19 @@ mount --bind /home/USER/src/PROJECT /opt/distros/redhat_6.2/USER/src/PROJECT
Become root and use:
-chroot /opt/distros/redhat_6.2 /bin/bash
-to obtain a shell with one of the secondary distros.
+xhost +localhost chroot /opt/distros/redhat_6.2
+/bin/bash to obtain a shell with one of the secondary
+distros. Note that the xhost command is only
+necessary if you intend to use X-windows applications.
Finally, create a user (if necessary) within the
chroot-ed shell and develop, build, and/or test
-your application within this "separate" Linux distribution!
+your application within this "separate" Linux distribution! Not that
+you may also have to specify your DISPLAY
+environment variable if you'd like to use X applications.
@@ -194,15 +206,16 @@ your application within this "separate" Linux distribution!
Credits
- The ideas contained in this mini-HOWTO are not mine. They
- are culled from posts by Ben Reed (of The ideas contained in this mini-HOWTO are not originally
+ mine. They are culled from posts by Ben Reed (of OpenNMS ) to one of the
- TriLUG mailing lists.
- I found the information to be so useful that I wanted to document
- the idea for others.
+ TriLUG mailing
+ lists. I found the information to be so useful that I wanted to
+ document the idea for others.
+