Fix the .xinitrc file by checking for wm pid