--updated for local device support - USB/CD etc
* fresh install sme 7.1
* yum update
* mkdir /etc/e-smith/templates/etc/yum.conf
* vi /etc/e-smith/templates/etc/yum.conf/21gnome216
* insert
[AL-Desktop]
name=Enterprise Linux $releasever - $basearch - AL Desktop
mirrorlist=http://www.alcancelibre.org/al/el4/al-desktop
gpgkey=http://www.alcancelibre.org/al/AL-RPM-KEY
enabled=1
* yum update --exclude clamav
* yum install gnome-all
* signal-event post-upgrade; signal-event reboot
* rm /etc/profile.d/e-smith-lib_compspec.sh
* enable groups for the contos repo in /etc/yum.conf
* create /etc/X11/xorg.conf - mine contains
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
FontPath "/usr/X11R6/lib/X11/fonts/local/"
FontPath "/usr/X11R6/lib/X11/fonts/misc/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "dri"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "yes"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "gb"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "ACT0e46"
DisplaySize 270 200
HorizSync 30.0 - 55.0
VertRefresh 47.0 - 120.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "vesa"
VendorName "Videocard vendor"
BoardName "VESA driver (generic)"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection
LTSP PART
* wget
http://ltsp.mirrors.tds.net/pub/ltsp/utils/ltsp-utils-0.25-0.noarch.rpm* rpm -Uvh ltsp-utils-0.25-0.noarch.rpm
* run ltspadmin and do a full ifunstall of ltsp
* yum install portmap nfs-utils
* wget
http://mirror.contribs.org/smeserver/contribs/trevorb/7.x/Thinclient/smeserver-thinclient-2.0-5.noarch.rpm* wget
http://mirror.contribs.org/smeserver/contribs/trevorb/7.x/Thinclient/smeserver-tftp-server-0.39-3.i386.rpm* rpm -Uvh sme*
* config setprop tftpd status enabled
* signal-event post-upgrade; signal-event reboot
* go to server-manager, thinclient. Add a new distribution called ltsp with a directory of /lts/2.6.17.8-ltsp-1. Change ltsp to default distribution.
* edit /etc/rc.local and insert lines to start xfs then portmap followed by nfs and finally add gdm which is not a service e.g.
/etc/init.d/xfs start
/etc/init.d/portmap start
/etc/init.d/nfs start
gdm &
* run ltspcfg and use it to configure all your settings including setting your interface as eth0
* mkdir -p /etc/e-smith/templates-custom/etc/dhcpd.conf
* edit /etc/e-smith/templates-custom/etc/dhcpd.conf/09rootpath and add
option root-path "192.168.1.1:/opt/ltsp/i386";
* expand-template /etc/dhcpd.conf
* mkdir -p /etc/e-smith/templates-custom/etc/hosts.allow
* edit /etc/e-smith/templates/etc/hosts.allow/0ltsp and add the following
mountd: 192.168.1.
nfs: 192.168.1.
gdm: 192.168.1.
## LTSP-begin ##
#
# The lines between 'LTSP-begin' and 'LTSP-end' were added
# on: Fri Dec 22 13:32:24 2006, by the ltspcfg configuration tool.
# For more information, visit the LTSP homepage
# at
http://www.LTSP.org#
bootpd: 0.0.0.0
in.tftpd: 192.168.1.
portmap: 192.168.1.
* expand-template /etc/hosts.allow
* find and install smeserver-remoteuseraccess-1.2-2.el4.sme.noarch.rpm then go to your server-manager->remote users access and change the shell to bash for all users you want to be able to
* (optional) apply gnome splash to all users
gconftool-2 --direct --config-source \
xml:readwrite:/etc/gconf/gconf.xml.defaults \
--type string --set /apps/gnome-session/options/splash_image splash/SmoothGNOME-Splash/SmoothGNOME.png
Enable local devices
* install these RPMS and make sure you match up your kernel version for kernel-module-fuse (you can google them)
fuse-2.5.3-1.SL.i386.rpm
fuse-libs-2.5.3-1.SL.i386.rpm
fuse-smb-0.8.5-1.i386.rpm
fuse-sshfs-1.6-2.SL.i386.rpm
kernel-module-fuse-2.6.9-42.0.3.ELsmp-2.5.3-1.SL.i686.rpm
ltsp-server-pkg-fedora-0.1-1.i386.rpm
* vi /opt/ltsp/i386/etc/lts.conf and insert these lines then save
HOTPLUG = Y
MODULE_01 = uhci-hcd
MODULE_02 = usbhid
LOCAL_STORAGE = Y
Done, you can now boot your thin clients from the network into gnome 2.16 and use USB and CDs as usual