[FreeNX-kNX] Frontend for Terminal Services
Doug Burks
mubley at gmail.com
Thu Sep 23 19:12:28 UTC 2004
########################################################
# HOWTO Build an NX Server Using Tao Linux
#
# There's probably a better way of doing all this,
# but this procedure works for me.
#
# Doug Burks
# 2004/09/23
########################################################
########################################################
# Install Tao Linux
# (Tao Linux is a clone of Red Hat Enterprise Linux 3
# and is available at http://www.taolinux.org.)
#
# -Perform any installation that includes Gnome or KDE
# -Enable firewall, but allow SSH to pass through
# -Installation completes, machine reboots
########################################################
########################################################
# Import RPM GPG key so we can do yum update
########################################################
rpm --import /usr/share/doc/tao-release-1.0/RPM-GPG-KEY-tao
########################################################
# Load OS updates (takes a long time)
# -necessary for a production box on the Internet
# -not necessary if only testing on a LAN
########################################################
#yum update
########################################################
# Install expect, if not already installed
########################################################
yum install expect
########################################################
# Download NX (and netcat) RPMs from SuSe
########################################################
wget ftp://ftp.suse.com/pub/people/sndirsch/RPMS/FreeNX.rpm
wget ftp://ftp.suse.com/pub/people/sndirsch/RPMS/NX.rpm
wget ftp://rpmfind.net/linux/SuSE-Linux/i386/9.0/suse/i586/netcat-1.10-768.i586.rpm
########################################################
# RHEL has libcrypto.so.0.9.7a,
# but NX wants libcrypto.so.0.9.7 so create a link
# You don't HAVE to do this, but if you don't then
# nxdesktop won't run. (nxdesktop is needed if you
# want to connect to Windows Terminal Servers.)
########################################################
ln -s /lib/libcrypto.so.0.9.7a /lib/libcrypto.so.0.9.7
########################################################
# Install RPMs
# An RPM dependency is libcrypto.so.0.9.7
# RHEL has libcrypto.so.0.9.7a instead
# so do rpm --nodeps to skip dependency checking
########################################################
rpm -Uvh --nodeps *NX*.rpm
########################################################
# Perform one-time nxsetup:
# /usr/bin/nxsetup
#
# If you want to use the prebuilt binaries from
# www.nomachine.com, then use the
# --setup-nomachine-key option like so:
# /usr/bin/nxsetup --setup-nomachine-key
########################################################
/usr/bin/nxsetup
########################################################
# Create users and set passwords
# (Repeat for user2, user3, etc.)
########################################################
adduser user1
passwd user1
########################################################
# We don't need to add users to NX itself since we're
# using the default of PAM security, but if you change
# the default and have nxserver do its own account
# management, you'll need to:
# nxserver --adduser user1
# nxserver --passwd user1
# and repeat for user2, user3, etc.
########################################################
########################################################
# For a little extra security, add
# the AllowUsers directive to /etc/ssh/sshd_config:
# AllowUsers nx user1 user2 user3
# Include 'nx' account and any real users.
# You probably DON'T want to include root.
########################################################
echo "AllowUsers nx user1" >> /etc/ssh/sshd_config
service sshd restart
########################################################
# This may be fixed in a future version of FreeNX.
# Edit /usr/bin/nxnode
# Find this line:
# mkdir -p $HOME/.ssh
# and modify it to look like this:
# mkdir -m 700 -p $HOME/.ssh
########################################################
On Thu, 23 Sep 2004 11:58:44 -0700, Paul D. Eden
<peden at americanphysicians.net> wrote:
> I am running Fedora and RHEL and would be very interested in your
> "recipe".
>
> Thanks,
>
> Paul
>
>
>
> On Thu, 2004-09-23 at 11:54, Doug Burks wrote:
> > Yes, this can be done with FreeNX. I'm using the FreeNX RPMs from here:
> > ftp://ftp.suse.com/pub/people/sndirsch/RPMS/
> > on Tao Linux (a derivative of Red Hat Linux).
> >
> > I can supply my installation "recipe" if anyone is interested, but I
> > suspect most people on this mailing list are using Debian.
> >
> > Doug
> >
> >
> > On Thu, 23 Sep 2004 10:22:05 +0200, Luca Corti <cortez at tiscali.it> wrote:
> > > Hi all,
> > >
> > > I've read (I don't recall where at the moment) that you can use NX as a
> > > frontend bandwidth accelerator for Windows Terminal Services. Can you do
> > > this with freenx or just with nomachine's nxserver? Is there any
> > > documentation on how to do this?
> > >
> > > thanks
> > >
> > > Luca
> > >
> > > CONFIDENTIALITY NOTICE
> > > This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium.
> > > _______________________________________________
> > > FreeNX-kNX mailing list
> > > FreeNX-kNX at kde.org
> > > https://mail.kde.org/mailman/listinfo/freenx-knx
> > >
> > _______________________________________________
>
>
> > FreeNX-kNX mailing list
> > FreeNX-kNX at kde.org
> > https://mail.kde.org/mailman/listinfo/freenx-knx
>
>
More information about the FreeNX-kNX
mailing list