Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

export display to client

Posted on 2002-05-23
3
Medium Priority
?
31,564 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

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…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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…
Suggested Courses

618 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