Solved

export display to client

Posted on 2002-05-23
3
31,554 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 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

Independent Software Vendors: 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

Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
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…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.
Suggested Courses

732 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