- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Not able to export DISPLAY with March 2009, 11.31.
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
08-05-2009 02:26 AM
08-05-2009 02:26 AM
I am able to export display with other OS before march 2009 but with this particualre OS relase (March 09 11.31) I am not able to do so.
I don't no what to do because in some of the linux (suse)nodes display work fine.
STEPS TO EXPORT DISPLAY:
1. I go to a linux box and export DISPLAY for HP-UX box.
Eg.
ssh -X root@hpuxhost1
With other OS release display is automatically export if I login in the above way or I can export the display after logging in linux box.
Eg.
export DISPLAY=linux1:0.0
But my display is not working with the March 2009 11.31 release and with the same commands I am able to export DISPLAY for other OS release (Eg. other 11.31 release before March 2009 and 11.31 all release.
Its really strange but annoying for me because I really did almost everything but I am not getting what is wrong.
Can anyone please help me out of this. :)
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 02:30 AM
08-05-2009 02:30 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
# xclock
Error: Can't open display:
Error: Couldn't find per display information
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 02:51 AM
08-05-2009 02:51 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
Did you install CDE?
Regards,
Asif Sharif
Asif Sharif
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 02:54 AM
08-05-2009 02:54 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
I think CDE is installed by default with the OS or I need to install it manually for March 2009, 11.31.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 03:11 AM
08-05-2009 03:11 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
# swlist -l product | grep -i cde
CDE B.11.31 HP-UX CDE User Interface
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 03:36 AM
08-05-2009 03:36 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
ps -ef | grep dtlogin
If not enable it with:
/usr/dt/bin/dtconfig -e
And then start:
/sbin/init.d/dtlogin.rc start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 03:43 AM
08-05-2009 03:43 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
# ps -ef | grep dtlogin
root 2294 2274 0 16:38:39 ? 0:00 /usr/dt/bin/dtlogin
root 4635 4531 0 17:11:08 pts/1 0:00 grep dtlogin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 08:21 AM
08-05-2009 08:21 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
are you sure that's the same display as used elsewhere? Usually, tunnelled X uses an "offset", where the name would be something like:
DISPLAY=linux1:10.0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 08:28 AM
08-05-2009 08:28 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
As I said I am able to export DISPLAY with other HP OS releases .... 11.23 or 11.31 before March 2009, 11.31.
I am facing this issue with this particular OS only.
I don't no why I am facing this issue. :(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 09:02 AM
08-05-2009 09:02 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
Perhaps it's specific to this host and not the O/S version ...
Error: Can't open display:
Error: Couldn't find per display information
I beleive the above is telling you it can't "resolve" linux1:0.0 ....
have you tried using an ip ?
are you sure name resolution is working on both hosts ?
are you using DNS or files lookup on linux1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 09:08 AM
08-05-2009 09:08 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
But I am not able to export the display ... and about name resolution... all is ok with name resolution as I am running same command to export display with other nodes with other OS and its all working fine with others .
:)
Please suggest.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 09:12 AM
08-05-2009 09:12 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
well the syntax is correct I'll grant you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 09:15 AM
08-05-2009 09:15 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
HP-UX 11.31 has never installed CDE by default. You have to check it off.
This fools experienced systems administrators on HP-UX because they are used to a default installation of CDE.
The failure of the export to a linux system may be from the following cause:
1) The default Linux firewall prevents traffic on port needed for CDE.
2) The Linux display is protected try xhost + on the Linux system to allow the traffic.
ssh -X hpux_host
#should work. If not try:
ssh -Y hpux_host
The command will not work until after CDE is installed.
ssh -Y does not work when pointed at a Linux host.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 09:16 AM
08-05-2009 09:16 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 09:31 AM
08-05-2009 09:31 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
I am using exactly the same commands which you suggested to export DISPLAY of my hpux nodes using my linux nodes.
But still I am not able to export the display.
STEPS:
1. ssh -X hpux_host (login to linux host)
2. run xclock to check the display is working or not.
3. It fails and I manually export the display.
export DISPLAY=linux_host:0.0.
4. Still display does not work.
What I believe is may be some firewall setting from HP-UX (March 09, 11.31) is preventing it, but I am not sure.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 10:03 AM
08-05-2009 10:03 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 10:24 AM
08-05-2009 10:24 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2009 11:17 PM
08-05-2009 11:17 PM
Re: Not able to export DISPLAY with March 2009, 11.31.
And there are no other X window opened in the linux.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2009 10:55 AM
08-06-2009 10:55 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
post :
detail ip address and fqdn of linux system and for hpux.
On linux box run nslookup on both ip & hostname of unix box. Post output.
On hpux server run nslookup of ip and hostname of linux system. Post output.
on linux server ssh to unix server and run
echo $DISPLAY ... post output & syntax of commands used.
export DISPLAY to ip.addree:0.0 of linux server.
run xhost
post results.
run xclock
post results.
What has been done to allow X11 forwarding as in ....
-X Enables X11 forwarding. This can also be specified on a per-host basis in a configuration file.
I'd of thought you'd get an X connection refused if this were ssh or a firewall issue. X is likely to be going thru port 6000.
Has this system been upgraded previously to the current O/S (the unix server).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2009 10:45 PM
08-06-2009 10:45 PM
Re: Not able to export DISPLAY with March 2009, 11.31.
*** NOTE: IP/NAME of machines are changed to keep the privacy.
IP Address of Linux box.
10.209.72.25
IP Address of HP-Server
10.209.72.145
# nslookup mylinux
Name Server: mydns.abc.com
Address: 10.209.72.100
Trying DNS
Name: mylinux.abc.com
Address: 10.209.72.25
# nslookup hphom2
Name Server: mydns.abc.com
Address: 10.209.72.100
Trying DNS
Name: hphom2.abc.com
Address: 10.209.72.145
When I do a ssh -X hphom2 and login.
# echo $DISPLAY
Nothing is seen.
# xclock
Error: Can't open display:
Error: Couldn't find per display information
Exported display with machine name.
# export DISPLAY=mylinux:0.0
# echo $DISPLAY
mylinux:0.0
# xclock
Error: Can't open display:
Error: Couldn't find per display information
Exported display with IP Address.
# export DISPLAY=10.209.72.25:0.0
# echo $DISPLAY
10.209.72.25:0.0
# xclock
Error: Can't open display:
Error: Couldn't find per display information
I am not getting why am not able to export the display as with other HP-OS I am able to export the display with the same commands.
I can not say its a firewall issue as with other HP-OS I am able to export the display with the same linux machine and using same commands. :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2009 08:25 AM
08-07-2009 08:25 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2009 08:54 AM
08-07-2009 08:54 AM
SolutionLook for a line that reads "X11Forwarding". For this to work it should say:
X11Forwarding yes
If it does not have a yes, or if the line is commented out or does not exist, then it will not work and you will need to add that line to the configuration.
If you have to do that, then you will also have to stop and restart the SSH daemon.
/sbin/init.d/secsh stop
/sbin/init.d/secsh start
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-07-2009 09:33 AM
08-07-2009 09:33 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
Have you tried reloading just CDE, to see if maybe that clear up your issue? You never know when it might just be one pesky corrupted file.
Have you checked using swverify or swlist -l fileset -a state to ensure things are solid. Maybe a patch got loaded, but not configured.
Just a couple thoughts to try.
Rgrds,
Rita
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-08-2009 07:16 AM
08-08-2009 07:16 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
Not sure if this will be relevant but did you try to "touch .Xauthority" in your root home directory ( chmod 600 ) ?
In case it already exist, try to delete it will be created again when you'll ssh -X your server
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-09-2009 09:26 AM
08-09-2009 09:26 AM
Re: Not able to export DISPLAY with March 2009, 11.31.
Thnaks
AVS