Re: Autostart with SSH
Samuel Winchenbach <[email protected]>
| Newsgroups | gmane.comp.graphics.chromium.user |
|---|---|
| Message-ID | <[email protected]> |
I think I am missing something... I want to run crserver on each node. Wouldn't "/bin/sh -c 'DISPLAY=: 0.0 CRMOTHERSHIP=%s crappfaker'" run crappfaker? And what does CRMOTHERSHIP=%s ? Thanks! Niraj Tolia wrote: > > > On 5/2/06, *Samuel Winchenbach* <[email protected] > <mailto:[email protected]>> wrote: > > Hello, > > I was wondering if it is possible to autostart crserver using SSH? I > currently have SSH setup with public/private key pairs so that no > password is needed. Below shows that SSH is working correctly, it > shows > the config file I am trying to run, and it shows the output errors. > Thanks! Sam. > > > [snip] > > servernode.AutoStart( ["/usr/local/bin/ssh2", host, > "/bin/sh -c '" + env + " " + prog + "'"] ) > > > Samuel, > > Would this not start the crserver on your local display? You probably > want a command line that specifies the DISPLAY. Something like > "/bin/sh -c 'DISPLAY=: 0.0 CRMOTHERSHIP=%s crappfaker'" might help. > > Niraj > > -- > http://www.cs.cmu.edu/~ntolia <http://www.cs.cmu.edu/%7Entolia> ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642