11-20-2009
How to check if export DISPLAY is set or not?
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 set then it should continue else it should give error.. Please Help me
10 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
Hi,
can anybody tell me what is the difference between set and export in unix.
-Ashish (1 Reply)
Discussion started by: shriashishpatil
1 Replies
4. 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
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. Shell Programming and Scripting
what is the difference in usage of set, export, typeset while declaring a value to a variable
can any one help
thanks (0 Replies)
Discussion started by: trichyselva
0 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. Solaris
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? (1 Reply)
Discussion started by: eddiet
1 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
10. Solaris
Hi
I'm trying to understand variable scopes in solaris10.
It is said that to display env variables we use 3 commands :
- env
- set
- export
What is the difference between them ?
thx for help.
---------- Post updated at 11:00 AM ---------- Previous update was at 10:50 AM ----------
... (2 Replies)
Discussion started by: presul
2 Replies
LEARN ABOUT SUNOS
parse_dynamic_clustertoc
parse_dynamic_clustertoc(1M) System Administration Commands parse_dynamic_clustertoc(1M)
NAME
parse_dynamic_clustertoc - parse clustertoc file based on dynamic entries
SYNOPSIS
cdrom/export/exec/sparc.Solaris_2.x/sbin/install.d/parse_dynamic_clustertoc
cdrom/export/exec/i386.Solaris_2.x/sbin/install.d/parse_dynamic_clustertoc
DESCRIPTION
This script parses the clustertoc file before the suninstall(1M) process is run. parse_dynamic_clustertoc is called by a modified syscon-
fig script on the install CD. When parse_dynamic_clustertoc runs, it reads the clustertoc and when it encounters SUNW_CSRMBRIFF lines, it
either checks the platform using the script's builtin function, or calls an external script. The script exits with a 0 if the cluster
entry is included, otherwise it will be ignored. If the cluster entry is to be included, the SUNW_CSRMBRIFF =(test test_arg)cluster line
is converted to SUNW_CSRMEMBER =cluster.
EXAMPLES
Example 1: Checking For an SX Framebuffer
The following is an example of a simple external test to check for an SX Framebuffer. The entry in the clustertoc file is shown and fol-
lowing that is the script that must be placed in the install.d/dynamic_test directory.
SUNW_CSRMBRIFF=(smcc.dctoc sx)SUNWCsx
#! /bin/sh
#
# Likewise, this file is expected to live under $(TESTDIR).
#
case "$1"
in
sx) prtconf -p | grep 'SUNW,sx' 1> /dev/null;;
esac
FILES
cdrom/Solaris_2.x/locale/C/.clustertoc.dynamic
Dynamic version of the clustertoc file
cdrom/export/exec/sparc.Solaris_2.x/sbin/install.d/dynamic_test
Directory that contains any additional tests
cdrom/export/exec/i386.Solaris_2.x/sbin/install.d/dynamic_test
Directory that contains any additional tests
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SHWPcdrom (Solaris CD) |
+-----------------------------+-----------------------------+
SEE ALSO
suninstall(1M), clustertoc(4), attributes(5)
SunOS 5.10 6 Sep 1995 parse_dynamic_clustertoc(1M)