You'll have to remove as many high spots as possible by sanding followed by a skim coat using lightweight drywall compound. Sand until smooth, prime and paint. When I remove wallpaper I wash off as much paste as I can. It's nearly impossible to remove every bit of the adhesive so before I paint I apply an OIL BASED primer. Oil based primers won't activate the paste like water based latex primers and paints.