After install sambapos v4 what next for server and client

This tutorial will help you it works for version 5 or version 4. In the future I recommend you take advantage of forum search or use the Tutorials categories they cover everything you might need.

If you have troubles this is a good one to diagnose problem:

Here is a good general tutorial for SambaPOS setup portion of Database