Solved

export display to client

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
AIX print queues constantly going down 11 454
AIX  NFS  question 1 100
Shell script errors 10 99
NTP Server in VMware 5 115
Attention: This article will no longer be maintained. If you have any questions, please feel free to mail me. jgh@FreeBSD.org Please see http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-update-server/ for the updated article. It is avail…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
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…
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.

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now