There's a bunch of third party apps that can do this for you. Xv is pretty good, as is imageview.
To have them pop up on a given display from the commandline, you don't need to run an xterm first.
Just make sure your DISPLAY environment variable is set correctly (alternativly, most X applications will accept a "-display <display:number>" flag instead.
To select where it should be displayed on the screen, select which display number via the -display flag (eg 0.0 0.1 etc). To select where on the given screen, most apps will accept a -geometry flag with four optional parameters:
Width
Height
X coord
Y coord
eg To display a 640x480 window 20 pixels from the left side of the screen and 30 pixels down on 'mydisplay':
Code:
xv -display myhost:0.0 -geometry 640x480+20+30 sailing.jpg
eg To display a 640x480 window 50 pixels in from the
right side of the screen and 10 pixels from the
bottom:
Code:
xv -display myhost:0.0 -geometry 640x480-50-10 sailing.jpg