xhost: unable to open display???? | Unix Linux Forums | UNIX for Dummies Questions & Answers

  Go Back    


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

xhost: unable to open display????

UNIX for Dummies Questions & Answers


Tags
export display

Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 04-28-2005
soestx soestx is offline
Registered User
 
Join Date: Apr 2005
Last Activity: 13 January 2006, 5:07 PM EST
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
xhost: unable to open display????

I am a dba, not an sa, that recently had to take over administering an HP-UX server. Needless to say I am not in a comfortable area, but found out that of all people I am the most knowledgeable on unix here .... scary thought I know.

I am having troubles exporting my display to a Windows XP terminal. Oracle is throwing display errors after

export DISPLAY=<ip_address>:0.0. -or-
export DISPLAY=<ip_address>:0. -or-
export DISPLAY=<ip_address>

None of it matters ... still get errors opening a display

Have tried xhost +
but still get errors ...
xhost: unable to open display

Additional info ... I have been doing all of this through a telnet session, as I do not see ssh installed on the server, and unless its pretty dummy-proof to install it I am hesitant to do so ... again I am a lowly dba without the first clue on administering unix at an sa level.

The server is HP-UX B.11.00 U 9000/800 (te) if that helps with anything.

I have tried all this as both the oracle user and as root ... results are the same

Any suggestions?

Thanks in advance!!
Sponsored Links
    #2  
Old 04-28-2005
dangral dangral is offline Forum Advisor  
Registered User
 
Join Date: Oct 2002
Last Activity: 31 July 2013, 6:52 PM EDT
Posts: 723
Thanks: 3
Thanked 4 Times in 4 Posts
1) Do you have an X Server (such as Exceed or Cygwin-X) running on Windows XP when you are running the program?
Sponsored Links
    #3  
Old 05-02-2005
vibhor_agarwali vibhor_agarwali is offline
Registered User
 
Join Date: Jan 2005
Last Activity: 11 April 2014, 2:37 AM EDT
Posts: 307
Thanks: 1
Thanked 1 Time in 1 Post
Hi,

I am also running into a similar situation.
I have Exceed running on my machine.

Still its giving me the same error.
    #4  
Old 05-02-2005
Just Ice's Avatar
Just Ice Just Ice is offline Forum Advisor  
Lights on, brain off.
 
Join Date: Mar 2005
Last Activity: 20 September 2013, 10:59 AM EDT
Location: Philadelphia metro
Posts: 958
Thanks: 3
Thanked 66 Times in 59 Posts
lose the trailing dot ...

export DISPLAY=<ip_address>:0.0
export DISPLAY=<ip_address>:0
Sponsored Links
    #5  
Old 05-03-2005
encrypted's Avatar
encrypted encrypted is offline Forum Advisor  
Registered User
 
Join Date: Feb 2004
Last Activity: 30 November 2011, 9:36 AM EST
Location: Oslo, Norway
Posts: 220
Thanks: 0
Thanked 1 Time in 1 Post
You can try this:

1.telnet/ssh into the server.
2.export DISPLAY=<i.p. address of XP machine>:0 (syntax varies for other shells)
3.Open any X-Server application (eg. Kea!X, Exceed etc.)
4.Log in to the server
5.Try running any openwindows application or any graphical application eg.
oracle installer from the cdrom.
Sponsored Links
    #6  
Old 05-03-2005
vibhor_agarwali vibhor_agarwali is offline
Registered User
 
Join Date: Jan 2005
Last Activity: 11 April 2014, 2:37 AM EDT
Posts: 307
Thanks: 1
Thanked 1 Time in 1 Post
Oops,

I got totally confused.
It is working now and even with last 0.

Can somebody give me a good link to help me understand what actually is X server.
As reading the man page of xhost; it says if you remove the client from the access control list then you won't be able to display.
But even after doing that its working for me.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Unable display txt file. raz33 Ubuntu 8 03-15-2012 02:25 PM
Unable to open Crontab Mani_apr08 Solaris 1 08-30-2011 05:05 AM
xWindows error: xhost unable to open display shoefiend UNIX for Dummies Questions & Answers 1 08-26-2011 04:15 PM
unable to display the souce line in gdb gauri UNIX for Dummies Questions & Answers 4 04-19-2007 08:36 PM
xhost unable to open display ymg UNIX for Advanced & Expert Users 5 05-22-2006 02:31 AM



All times are GMT -4. The time now is 12:07 PM.