For plain text, just tell the system to run a login program on /dev/ttyS* by adding it to /etc/inittab. A description can be found here.
For a graphical connection, you'd need to set up a BOOTP server for basic configuration, a tftp server for the most basic files, and configure the XDMCP server to advertise its service on the network.
I want each client can run light graphic program, like cash register, the speed and length is the main problem, only ethernet(cheep) can do that. Serial connection is slow and short, can't do much help.
At last I have to choise the thin client, made by embedded system device, connected by ethernet.