- or download this
$ENV{DISPLAY} = "10.16.119.3:0.0";
`another_program`;
- or download this
print "export DISPLAY=$display_value\n";
- or download this
#!/usr/bin/bash
# Create a temporary shell script using perl
...
# run another program with the modified environment
another_program