The main problem facing with Indian trains are the thiefs. Here is some tips to don’t lose your bag from train when you are traveling solo.
Lock the zib with a good lock and keep the key
Use Chain to lock your bag with the seat
Try to keep your bag on opposite birth or under seat from the side you sit
Write your name on your bag
Be alert and have an eye to bag when train on the station and moving slowly