gold_mark has asked for the wisdom of the Perl Monks concerning the following question:
and also without quotes, but this does not work (the xterm complains DISPLAY is not set).my $ssh = Net::OpenSSH->new($host, default_ssh_opts => ['-Y']); my $cmd = 'xterm'; $ssh->system($cmd) or die "Failed to run command: ". $ssh->error;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Is it possible to use X forwarding in Net::OpenSSH?
by salva (Canon) on Apr 16, 2013 at 09:07 UTC | |
by gold_mark (Initiate) on Apr 20, 2013 at 18:04 UTC | |
|
Re: Is it possible to use X forwarding in Net::OpenSSH?
by hdb (Monsignor) on Apr 16, 2013 at 08:26 UTC |