On 2013-11-15, at 16:14, Stephen Berg (Contractor) <[log in to unmask]> wrote: > I'm searching for a command line utility of some fashion to let me get the Xwindows screen resolution from a remote system. What I'd like is very simply a command, utility, log entry that I can reliably tell that "System X, over there on the network, is running an Xwindows session at 1920x1080." > > Does anyone have any ideas on how I can accomplish this? So far xrandr doesn't seem to let me do it. There's lots of "Setting mode" entries in /var/log/Xorg.0.log but no easy way to tell if that's the actual resolution currently running. # ssh SystemX ps auxwww|grep Xorg|grep -v grep root 6093 0.0 0.5 142816 41848 tty1 Ss+ Nov07 1:02 /usr/bin/Xorg :0 -nr -verbose -audit 4 -auth /var/run/gdm/auth-for-gdm-uxxFlD/database -nolisten tcp vt1 # ssh SystemX DISPLAY=:0 XAUTHORITY=/var/run/gdm/auth-for-gdm-uxxFlD/database xrandr -q Screen 0: minimum 8 x 8, current 3200 x 1200, maximum 16384 x 16384 DP-0 connected 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm 1920x1200 60.0*+ 1920x1080 60.0 50.0 1680x1050 60.0 1600x1200 60.0 1440x900 59.9 1280x1024 60.0 1280x960 60.0 1280x800 59.8 1280x720 60.0 50.0 1024x768 60.0 800x600 60.3 56.2 720x576 50.0 720x480 59.9 640x480 59.9 DP-1 connected 1280x1024+1920+0 (normal left inverted right x axis y axis) 338mm x 270mm 1280x1024 60.0*+ 75.0 1280x960 60.0 1152x864 75.0 1024x768 75.0 70.1 60.0 800x600 75.0 72.2 60.3 56.2 640x480 75.0 72.8 59.9 DP-2 disconnected (normal left inverted right x axis y axis) DP-3 disconnected (normal left inverted right x axis y axis) -- Stephan Wiesand DESY - DV - Platanenallee 6 15738 Zeuthen, Germany