[openbox] Use of DISPLAY in menu commands

daryl at ci.com.au daryl at ci.com.au
Sun Feb 23 21:30:58 EST 2014


>>>>> "Jim" == Jim Rees <rees at umich.edu> writes:

> daryl at ci.com.au wrote:
>      			  <command>
>      				  rsh remhost "xterm -display $DISPLAY"
>      			  </command>

> What do you have $DISPLAY set to? If it's ":0" that's not going to
> work.

> I suspect you want something more like (untested)

> sh -c "rsh remhost DISPLAY=$DISPLAY xterm"

That syntax seems to work. My DISPLAY is correctly set to "myxserver:0"

Thanks for the help.

-- 
Daryl Sayers                             Direct: +612 95525510
Bing Technologies                        Office: +612 95525500
Jones Bay Wharf                             Fax: +612 95525549
Suite 54, 26-32 Pirrama Rd                email: daryl at ci.com.au
Pyrmont NSW 2009 Australia                  www: http://www.ci.com.au


More information about the openbox mailing list