server code for dekstop sharing