old-www/HOWTO/Thinclient-HOWTO-6.html

114 lines
3.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Thin Client: New User Guide: X-terminal</TITLE>
<LINK HREF="Thinclient-HOWTO-7.html" REL=next>
<LINK HREF="Thinclient-HOWTO-5.html" REL=previous>
<LINK HREF="Thinclient-HOWTO.html#toc6" REL=contents>
</HEAD>
<BODY>
<A HREF="Thinclient-HOWTO-7.html">Next</A>
<A HREF="Thinclient-HOWTO-5.html">Previous</A>
<A HREF="Thinclient-HOWTO.html#toc6">Contents</A>
<HR>
<H2><A NAME="X-terminal"></A> <A NAME="s6">6. X-terminal</A></H2>
<P>
<P>With no further changes your client should boot on the CLIENT pc,
it just happens to be sharing it's files via NFS
<P>At this point you have a console terminal. you need to make just a few more
changes to run X
<P>
<P>
<UL>
<LI>Configuring X
<P>As root on client run Xconfigurator and mouseconfig,
<P>If this fails use XF86Setup check your RPMS dir on your CD (eg.ls *Setup*)
<P>
</LI>
<LI>X Font Server
<HR>
<PRE>
#chech how xfs starts on server /etc/rc.d/init.d/xfs
start)
echo -n "Starting X Font Server: "
rm -fr /tmp/.font-unix
daemon --check xfs su xfs -c xfs -s /bin/sh
touch /var/lock/subsys/xfs
echo
;;
#edit XF86Config for all machines
FontPath "tcp/snoball:7100"
</PRE>
<HR>
</LI>
<LI>Console login
<P>You are now set up for a console login to the client PC. You are using the
client memory and processor, this is adequate for console programs and there
and many or great merit, program in python, email with pine or browse with
lynx.
<P>
<P>You may still start X from here, make the server changes in the next
section, at the prompt type <CODE>X -query snoball</CODE> and you will get the
login box to the server
<P>
</LI>
<LI>Graphical login
<P><EM>Server set up</EM>
<P>
<HR>
<PRE>
1. Make sure the client is matched by a clause in /etc/X11/xdm/Xaccess
* CHOOSER BROADCAST #any indirect host can get a chooser
2. Comment out the :0 in /etc/X11/xdm/Xservers
#:0 local /usr/X11R6/bin/X
3. Then make sure that xdm is run from the init scripts.
#etc/inittab
id:5:initdefault:
and
# Run xdm in runlevel 5
# xdm is now a separate service
x:5:respawn:/etc/X11/prefdm -nodaemon
xdm:5:respawn:/usr/X11R6/bin/xdm -nodaemon
</PRE>
<HR>
<P>
<P><EM>On the client</EM>
<P>Get the slow PC's to run on the server, Fast PC's (eg 166mhz 32mb ram)can run
ok on their own CPU and memory
<P>
<P>the part maarked WARNING dosn't actually work as yet, but I'm close
to getting the syntax correct, use the two stage method via the console login
in the mean time.
<P>
<HR>
<PRE>
#/tftpboot/elite/etc/inittab
id:5:initdefault: #WARNING
x:5:respawn:/usr/X11R6/bin/Xwrapper -query snoball #WARNING
OR to run on client ??
id:3:initdefault: #runlevel 3 ie console
x:5:respawn:/etc/X11/prefdm -nodaemon
</PRE>
<HR>
<P>
</LI>
</UL>
<P>
<HR>
<A HREF="Thinclient-HOWTO-7.html">Next</A>
<A HREF="Thinclient-HOWTO-5.html">Previous</A>
<A HREF="Thinclient-HOWTO.html#toc6">Contents</A>
</BODY>
</HTML>