session: fix terminal and process group setup
session: fix terminal and process group setup

01org/tlm,avalluri/tlm,again4you/tlm,zhengcq315/tlm,zhengcq315/tlm,avalluri/tlm,ipuustin/tlm,ipuustin/tlm,again4you/tlm,01org/tlm