?
Solved

export display to client

Posted on 2002-05-23
3
Medium Priority
?
31,562 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 38

Accepted Solution

by:
yuzh earned 200 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

In tuning file systems on the Solaris Operating System, changing some parameters of a file system usually destroys the data on it. For instance, changing the cache segment block size in the volume of a T3 requires that you delete the existing volu…
Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Suggested Courses
Course of the Month9 days, 17 hours left to enroll

762 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