Note the double space in bash's error message before "grep": that probably means you've typed an unbreakable space (AltGr+space), which can happen quite easily if your keyboard requires AltGr to produce the pipe symbol.
Try dropping the spaces around the pipe symbol:
ps aux|grep xscreensaver