SCIENTIFIC-LINUX-USERS Archives

November 2013

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Novick, Jeffrey L CTR (US)" <[log in to unmask]>
Reply To:
Novick, Jeffrey L CTR (US)
Date:
Fri, 15 Nov 2013 15:36:53 +0000
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
First run:
export DISPLAY=:0

then run
xrandr

Just tried it and it worked for me.

Jeff
-----Original Message-----
From: [log in to unmask] [mailto:[log in to unmask]] On Behalf Of Stephen Berg (Contractor)
Sent: Friday, November 15, 2013 10:15 AM
To: SL Users
Subject: Get screen resolution from remote system

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.


-- 
Stephen Berg
Systems Administrator
NRL Code: 7320
Office: 228-688-5738
[log in to unmask]

ATOM RSS1 RSS2