Re: Autostart with SSH
"Niraj Tolia" <[email protected]>
| Newsgroups | gmane.comp.graphics.chromium.user |
|---|---|
| Message-ID | <[email protected]> |
On 5/2/06, Samuel Winchenbach <[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