It would help to know more about what you're trying to do.

I'm trying to imagine a scenario where you want autologin to an unprivileged user, but also want to display a window owned by root.

The only thing I can think of is that you need to do some local administration and don't want to bother logging in as a different user. To which I'd say, "Don't do that; log in as a different user."
_________________________
Bitt Faulk