03-09-2009
export DISPLAY
rsh to host2 from host1 and from host2 rsh into host3
Is it possible to display a GUI from host3 through host2 and onto host1?
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi!
I´ve an application that runs in a Digital Tru64, exporting display to a Linux host.
That application blinks a icon (in XPM mode) when the severity mode changes.
When I put a backdrop(XPM, too) in that screen, the icons blink slowly. When I remove it, they turn to blink quickly.
I have... (3 Replies)
Discussion started by: selina
3 Replies
2. Shell Programming and Scripting
hello to begin i sorry for my english because i'am french so:
someone can explain me to do a export DIPLAY with a web page (php)
i have test the php function exec (myscriptshell.sh) but he can't do the export diplay. if someone have a solution .
bye (1 Reply)
Discussion started by: the_nul
1 Replies
3. UNIX for Dummies Questions & Answers
I'm trying to open an xwindow on my Sun server. What am I doing wrong?
# echo $SHELL
/sbin/sh
#
# export DISPLAY=localhost:0.0
DISPLAY=localhost:0.0: is not an identifier
Thank you! (1 Reply)
Discussion started by: FredSmith
1 Replies
4. Shell Programming and Scripting
hi
I wanted to export the display of all directories of home with their respective subdirectories and files if any on my local pc.
this home directory is of some remote machine .
using ssh remote login and then using struct direct i can just gate name list of directories .
but not the display... (2 Replies)
Discussion started by: bhakti
2 Replies
5. Solaris
Hi Frnds,
i face a peculiar issue.
I am managing 200 Aix workstations and 20 sun boxes.
I am not anle to export the display from aix workstations to sun box,
But vice versa it is working fine.
But if i try to export the display to a sun box from other sun box it works perfectly.
Could... (3 Replies)
Discussion started by: sriram.s
3 Replies
6. HP-UX
HI,
HP-UX B.11.00 A 9000/785 (ta)
I am trying to export a display using Xming & and Telnet (not SSH) but when I try..
$ DISPLAY=192.168.1.75:0.0
$ export DISPLAY
$ xclock
and get..
Xlib: connection to "192.168.1.75:0.0" refused by server
Xlib: No protocol specified
Error:... (4 Replies)
Discussion started by: Pauly
4 Replies
7. UNIX for Advanced & Expert Users
hello frnds,
I want to export display of othe terminal to my terminal and want to post a msg, which should visible at other terminal,
I tried myself, but couldnt get it
plz help me to get solution (1 Reply)
Discussion started by: sushant.pathade
1 Replies
8. Shell Programming and Scripting
Hi All,
I use "export DISPLAY=same_host:0.0" to set my export DISPLAY and it is working fine for me..
Problem here is I have developed a script for which i should run export DISPLAY prior to running my script....
so my script should check whether export DISPLAY is set or not.. if... (6 Replies)
Discussion started by: smarty86
6 Replies
9. UNIX for Advanced & Expert Users
Hi,
from my Windows Workstation I can connect with PUTTY to an AIX 6.1 unix server.
On AIX via PUTTY I run DBCA which has a grphical interface.
Then :
#DISPLAY=local_host:0.0 ; export DISPLAY
$(hostname) $(whoami):/appli/oracle/product/10.2.0/db_1/bin#dbca
_X11TransSocketINETConnect()... (12 Replies)
Discussion started by: big123456
12 Replies
LEARN ABOUT DEBIAN
string::glob::permute
Permute(3pm) User Contributed Perl Documentation Permute(3pm)
NAME
String::Glob::Permute - Expand {foo,bar,baz}[2-4] style string globs
SYNOPSIS
use String::Glob::Permute qw( string_glob_permute );
my $pattern = "host{foo,bar,baz}[2-4]";
for my $host (string_glob_permute( $pattern )) {
print "$host
";
}
# hostfoo2
# hostbar2
# hostbaz2
# hostfoo3
# hostbar3
# hostbaz3
# hostfoo4
# hostbar4
# hostbaz4
DESCRIPTION
The "string_glob_permute()" function provided by this module expands glob-like notations in text strings and returns all possible
permutations.
For example, to run a script on hosts host1, host2, and host3, you might write
@hosts = string_glob_permute( "host[1-3]" );
and get a list of hosts back: ("host1", "host2", "host3").
Ranges with gaps are also supported, just separate the blocks by commas:
@hosts = string_glob_permute( "host[1-3,5,9]" );
will return ("host1", "host2", "host3", "host5", "host9").
And, finally, using curly brackets and comma-separated lists of strings, as in
@hosts = string_glob_permute( "host{dev,stag,prod}" );
you'll get permutations with each of the alternatives back: ("hostdev", "hoststag", "hostprod") back.
All of the above can be combined, so
my @hosts = string_glob_permute( "host{dev,stag}[3-4]" );
will result in the permutation ("hostdev3", "hoststag3", "hostdev4", "hoststag4").
The patterns allow numerical ranges only [1-3], no string ranges like [a-z]. Pattern must not contain blanks.
The function returns a list of string permutations on success and "undef" in case of an error. A warning is also issued if the pattern
cannot be recognized.
Zero padding
An expression like
@hosts = string_glob_permute( "host[8-9,10]" );
# ("host8", "host9", "host10")
will expand to ("host8", "host9", "host10"), featuring no zero-padding to create equal-length entries. If you want ("host08", "host09",
"host10"), instead, pad all integers in the range expression accordingly:
@hosts = string_glob_permute( "host[08-09,10]" );
# ("host08", "host09", "host10")
Note on Perl's internal Glob Permutations
Note that there's a little-known feature within Perl itself that does something similar, for example
print "$_
" for < foo{bar,baz} >;
will print
foobar
foobaz
if there is no file in the current directory that matches that pattern. String::Glob::Permute, on the other hand, expands irrespective of
matching files, by simply always returning all possible permutations. It's also worth noting that Perl's internal Glob Permutation does not
support String::Glob::Permute's [m,n] or [m-n] syntax.
COPYRIGHT & LICENSE
Copyright (c) 2008 Yahoo! Inc. All rights reserved. The copyrights to the contents of this file are licensed under the Perl Artistic
License (ver. 15 Aug 1997).
AUTHOR
Algorithm, Code: Rick Reed, Ryan Hamilton, Greg Olszewski. Module: 2008, Mike Schilli <cpan@perlmeister.com>
perl v5.12.4 2009-01-29 Permute(3pm)