That you don't see anything with -root is probably because a desktop background hides the root window. Try logging in with a "Failsafe Terminal" session and run it here.
That you don't see anything with -root is probably because a desktop background hides the root window. Try logging in with a "Failsafe Terminal" session and run it here.