Solved

export display to client

Posted on 2002-05-23
3
31,546 Views
Last Modified: 2013-12-27
i want to run veritas netbackup
display (GUI) on my Sun sparc
station.

i got an error saying that 'YOUR DISPLAY ENVIROMENT
VARIABLE IS SET AS FOLLOWS:MYSPARC:0.0 '

 my server ip is 190.254.31.72

how to set the display on my sparc?.

tq
0
Comment
Question by:ismahwati
  • 2
3 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 50 total points
ID: 7031260
Where do you run the software?

I assume that your run the Software at machine A, and want
to display on machine B.

At machine B, someone has logined, and he need to type in:

#xhost +

to disable access control, so X client can connet from any host.

At machine A, you need to set the DISPLAY:

1)
  for csh/tcsh user, do
  #setenv DISPLAY IP-of-B:0.0

  for sh/ksh/bash, do;

  # DISPLAY=IP-of-B:0.0 ; export DISPLAY


2) run you program.

   Here's a typical example for this case.

   You sit at machine A, remote login to Machine B, and try
to run the program on machine B, display it on A;

  At machine (console terminal), you type in :
  xhost +

  At a remote terminal, you set the display, and then run the program.

 
 

 
0
 

Author Comment

by:ismahwati
ID: 7031349
thanks.it works perfectly.
anyway, why must put 0.0 after the ip-of-B.

tq
0
 
LVL 38

Expert Comment

by:yuzh
ID: 7031770
There are there part for the DISPLAY variable, the first part is the Xserver, the 2nd is the DISPLAY, most of the computer has only one display, so the default is 0, the 3rd part is optional, it specify which screen to be used for display, 0 for the 1st, 1 for 2nd screen ..... and so on.

You can simply set the DISPLAY, like:
   DISPLAY=Xserver-IP(or Name-of-Xserver):0
   export DISPLAY

I hope the infor can help
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
sort command HPUX 11 82
Oracle Finace 3 88
Wrap Oraccle SQL*Plus executable Command 4 95
awk sed 8 68
When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question