- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- can not display problem
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 05:07 AM
09-19-2001 05:07 AM
can not display problem
I created the executable by giving following options in Makefile
-Wl,a,archive.
I am getting following error.
Error: Can't open display: HOST ID
I am working on the same machine, where executable created.
I am using HP 11.0 and HP ANSI C++ B3910B A.03.25.
please help me to resolve this problem. which is critical to me.
Thanks
Satya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 05:19 AM
09-19-2001 05:19 AM
Re: can not display problem
It looks the the program that you've compiled is trying to send display but doesn't know where to send it because the DISPLAY environt variable is either not set or set incorrectly. (Probably some X/Gui oriented program). Set the DISPLAY to the IP address of the machine which running an X server.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 05:23 AM
09-19-2001 05:23 AM
Re: can not display problem
where HOST ID=ip address or hostname of the system you wish to see the gui on.
If it comes back with not authorised errors try running xhost + or use xhost by itself to check to see if the local Xserver has access. see man xhost for more details
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 06:10 AM
09-19-2001 06:10 AM
Re: can not display problem
my display env and xhost defined correctely. i tested by invoking xclock and xterm.
Satya
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 06:39 AM
09-19-2001 06:39 AM
Re: can not display problem
can you give the exact syntax of the error you are getting presumably when you attempt to run the executable you compiled right ?
Are you su'ing to another user to do this ? and does ps -ef | grep X return a "-auth" ?
can you post also the output from echo $DISPLAY and nslookup HOST ID command.
lastly you program couldn't be automatically setting the DISPLAY variable could it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-19-2001 09:18 AM
09-19-2001 09:18 AM
Re: can not display problem
case 1.
I tested the application on HP11.0 and wehre executable created. That is sitting infront of the same machine.
I am getting the same error.
2. If i am testing on different machine by login to the HP machine, I am getting the same error.
even though if set DISPLAY and xhost properly.
case 3.
While linking If i use +A option, with out shared library. I am getting following error
aCC runtime: ERROR: Unexpected use of shared libraries
aCC runtime: ERROR: Read aCC manpage, +A option
/usr/lib/libnss_files.1
IOT trap (core dumped)
I am preffering to create the executable with static archive libraries. but it gives the above error.