EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: EDM start window position, from command line
From: Scott Baily <[email protected]>
To: [email protected]
Date: Thu, 11 Aug 2011 17:58:51 -0600
On 8/11/2011 12:17 AM, Kathryn Spiers wrote:
Hello,

Further to the discussion in http://www.aps.anl.gov/epics/tech-talk/2011/msg00585.php, I have been trying to open edm windows at specified locations from the command line. I can't get that to work, but before that, can't seem to get the edm display file server and related operations to work.

Firstly,
edm -server
or
edm -server -display $DISPLAY
both open an instance of edm.

Subsequently:
edm -x -open file.edl
returns the error "No server found for display - abort"
This error is returned even if the -display option is included before -open

This works for me, provided that I started the server with the -display option. If I connect in with ssh, "echo $DISPLAY" displays "localhost:19.0" Is it possible that the DISPLAY variable is set incorrectly? (If $DISPLAY is an empty string, then 2 copies of the edm server would have to be loaded for -open to work).
I've tried edm versions 1.10.1w, 1.12.39 and 1.12.56.
(I'm using edm 1.12.40, but I don't think 1.12.39 is much different, it looks as though 1.12.58 might have some relevant changes)

However, if I don't use the -display option when starting edm -server, then I get the same error message, unless 2 copies of the edm server are running. I suspect this is a bug in locating the edm server, as edm -one -server will allow me to load exactly 2 copies of edm. On the production systems, we typically run multiple servers, and use the -port option to select the correct one when giving the -open command (rather than -display). In either case the -display is necessary for the -server command, but not with the -open command.
--
Scott Baily
AOT-IC, MS H820
Los Alamos National Laboratory
Los Alamos, NM 87545
ph: (505) 606-2260

References:
EDM start window position, from command line Kathryn Spiers

Navigate by Date:
Prev: devIocStats 3.1.6 released Allison, Stephanie
Next: RE: question about state notation language logic for when() with delay Jay Steele
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: EDM start window position, from command line Kathryn Spiers
Next: devIocStats 3.1.6 released Allison, Stephanie
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  <20112012  2013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·