04-23-2004
For ksh it is
export DISPLAY=hostname:#.#
For csh try
setenv DISPLAY hostname:#.#
Where the first number is the number of the display, and the second is the screen. For a PC, those numbers will almost always be 0.0 unless you are running a dual-monitor setup or something exotic like that.
You can use the IP address of the PC instead of the hostname if you wish too.
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
How do I export a directory ?
I am trying to link the directory from another machine. (2 Replies)
Discussion started by: brv
2 Replies
2. Windows & DOS: Issues & Discussions
My friend's boss has asked me to help update a customer database. They have a limited amount of space and have asked if I can do this from my home computer.
She is working on a Unix system with a program called Accuterm. My understanding is that this program is a dedicated program for the... (0 Replies)
Discussion started by: clearchoice
0 Replies
3. Windows & DOS: Issues & Discussions
Hey all,
I have teh job of exporting all the information for around 500 e-mail addresses from exchange into something like a excel sheet.
I was pretty quiet one afternoon last week (and bore) so I added them to my adddresses book then exported them to excel. But I now have a problem, it does... (0 Replies)
Discussion started by: woofie
0 Replies
4. Solaris
I have a sun box i can connect to using exceed in broadcast or query mode.
I have been using passive mode to call up just a few apps, xcalc for example.
How do i get the solaris 9 user login screen using passive mode? is it dtlogin or something that im should run frmo the shell? (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies
5. Shell Programming and Scripting
Can someone help me out to export awk output to excel file in different rows? Plzzzz its urgent...:( (4 Replies)
Discussion started by: goutam_igate
4 Replies
6. Solaris
Hi,
can anyone tell me the difference between the below two examples:
Eg-1:
# name=bravo
# echo $bravo
what would be the o/p
Eg-2:
# name1=jhonny
# export name1
# echo $name1
what would be the o/p
If the o/p's of both examples are the same then what is the use of the cmd export... (3 Replies)
Discussion started by: rahul_11d
3 Replies
7. Shell Programming and Scripting
Hi All;
I m working on a script and came across an issue ,to explain it briefly here is the sample code
echo $HOSTNAME|while read IN; do var=`echo $IN|awk -F "-" '{print $2}'`; export var; echo $var; done
now I get the value of $var but when it is out of the while loop
it does not return... (3 Replies)
Discussion started by: maverick_here
3 Replies
8. Red Hat
Hi Experts,
I am using Cygwin and Xming server to bring back the display from Linux to a Windows machine.
I am following the below steps :-
1. Close down all X Servers
2. Run XMing – XLaunch
3. Select Multiple
4. Select Start no clients
5. Tick No Access Control box
6. Click Finish... (7 Replies)
Discussion started by: oopsalion
7 Replies
9. Shell Programming and Scripting
I need to export xlm files in a specific directory and insert them into an oracle table. I am new with unix.
I also need to export users from ldap (3 Replies)
Discussion started by: joannascott
3 Replies
10. Solaris
hello all,
I have been googling alot about my problem and finally thought to post a question.
server: SunOS 5.1 64bit pn Sun Netra 240
i need to run an application which shows a gui tool but i believe SunOS cant show the GUI so i need to export the display to my system which is running... (3 Replies)
Discussion started by: wonderwall
3 Replies
LEARN ABOUT OSF1
xmtargetsarecompatible
XmTargetsAreCompatible(3X) XmTargetsAreCompatible(3X)
NAME
XmTargetsAreCompatible - A function that tests whether the target types match between a drop site and source object
SYNOPSIS
#include <Xm/DragDrop.h>
Boolean XmTargetsAreCompatible (display, export_targets, num_export_targets, import_targets, num_import_targets)
Display *display;
Atom *export_targets;
Cardinal num_export_targets;
Atom *import_targets;
Cardinal num_import_targets;
DESCRIPTION
XmTargetsAreCompatible determines whether the import targets of the destination match any of the export targets of a source. If there is at
least one target in common, the function returns True. Specifies the display connection. Specifies the list of target atoms associated
with the source object. This resource identifies the selection targets the source can convert to. Specifies the number of entries in the
list of export targets. Specifies the list of targets to be checked against the XmNexportTargets of the source associated with the speci-
fied DragContext Specifies the number of entries in the import_targets list.
RETURN VALUE
Returns a Boolean value that indicates whether the destination targets are compatible with the source targets. If there is at least one
target in common, the routine returns True; otherwise, returns False.
SEE ALSO
XmDragContext(3X), XmDropSite(3X)
XmTargetsAreCompatible(3X)