[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbox
Subject:    [openbox] Use of DISPLAY in menu commands
From:       daryl () ci ! com ! au (daryl at ci ! com ! au)
Date:       2014-02-24 2:30:58
Message-ID: ynj7g8l6y3h.fsf () odi ! ci ! com ! au
[Download RAW message or body]

>>>>> "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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic