To discover the X windows screen resolution currently being used, use this command:
$ xwininfo