1836571 Members
2081 Online
110102 Solutions
New Discussion

Export DISPLAY problem

 
Valkiria Santos
Frequent Advisor

Export DISPLAY problem

Hello Guys,

I have a problem to do an export display from server to workstation.
I doing:
xhost + (on workstation)
export DISPLAY=:0.0
I tried with IP, alias, hostname...
Doesn??t work!

Name resolution it??Ok.

Maybe some daemon, process, service??

Any idea?

Tks,
Valkiria
6 REPLIES 6
harry d brown jr
Honored Contributor

Re: Export DISPLAY problem


What are the error messages?

Of course you could try xhost + +

live free or die
harry
Live Free or Die
Valkiria Santos
Frequent Advisor

Re: Export DISPLAY problem

Hi Harry,

This is the message:
Error: Can??t open display: :0.0
Error: Couldn??t find per display information


Waiting for your light!

Tks,
valkiria
Michael Elleby III_1
Trusted Contributor

Re: Export DISPLAY problem

1.Who are you logged in as, yourself, or root? Also, what shell are you running, ksh, csh, sh?

2. When you execute the xhost command, what result do you get in return?

3. For ksh, the above should work.. if its csh, your export command should be:

setenv DISPLAY hostname:0.0

For sh, do it in two commands:

DISPLAY=hostname:0.0
export DISPLAY

Mike-

Knowledge Is Power
Caesar_3
Esteemed Contributor

Re: Export DISPLAY problem

Hello!

On workstation you shoul do xhost +
and on the server export DISPLAY=:0.0
and run the aplication on the server and the
X output will go to workstation.
Ofcource the X server should run on.

Caesar
Kirby A. Joss
Valued Contributor

Re: Export DISPLAY problem

I suspect that you are trying to do the export as another user than the one who initially logged onto the workstation. CDE restarts the display manager at login and only that user can effectively do the xhost command.

Please try opening a new terminal window from the toolbar, and do the xhost + from there.
Steven E. Protter
Exalted Contributor

Re: Export DISPLAY problem

We use the IP address of the box trying to be the X client.

Our windows network assigns bogus hostnames to all windows pc's logged onto the network. You can see the DISPLAY variable is set to that if you open a gnome terminal window.

One problem. it X apps wont work until DISPLAY is set to IP_addy:0.0

DISPLAY=192.168.0.40:0.0
export DISPLAY

Don't ask me why, I don't know, I'm just reporting results in hopes it helps you.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com