- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Xwindow 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
02-23-2006 07:38 PM
02-23-2006 07:38 PM
I am facing a problem in running SAM in xwindow.I Am using Xmanager2.0 to bring the xwindow to lcal machine. Please find the attached document for the error i am getting.
I am connecting a server hp9xxxx first.
From there i am telneting to hp7xxxx server.
The ip address of my local machine is 9.184.42.224.
Please help me as i have to use sam in xwindow urgently.
thanks in advance.
s.o
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 07:43 PM
02-23-2006 07:43 PM
Solution$ env | grep DIS
DISPLAY=9.184.42.224:0.0
$ su
Password:
Try to set in root session as,
# export DISPLAY=9.184.42.224:0.0
# echo ${DISPLAY}
has to show the setting.
# sam &
Meantime, you have to start xwindow client session. It will work.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 07:44 PM
02-23-2006 07:44 PM
Re: Xwindow problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 07:47 PM
02-23-2006 07:47 PM
Re: Xwindow problem
Why dont you directly start a X window to hp7xx ?? Anyways, you can easily export your display IP in hp7xxx as
# export DISPLAY=
Now, start sam again. It should work.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 07:49 PM
02-23-2006 07:49 PM
Re: Xwindow problem
hm.. Problem is with connectivity. Do this,
# ping 9.184.42.224
# nslookup 9.184.42.224
From 9.184.42.224 machine to hp-ux machine,
# ping hp-ux machine
IS it working?
Can you show this,
# who -u
Are you able to see the ip-address of 9.184.42.224 there?
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 07:53 PM
02-23-2006 07:53 PM
Re: Xwindow problem
Are you able to ping to your local pc from hp7xxx??? That should be a problem.
-Arun
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 08:02 PM
02-23-2006 08:02 PM
Re: Xwindow problem
Thanks for your immediate reply. Let me explain once more how am i trying.
I am using putty ssh to connect to the hp9xxxx server. I am enabling the "X11 forwarding" in the putty. I am creating an environment by running Xmanager passive.
As you said i set the DISPLAY variable in root. But how can i start the client session after running sam.
thanks.
s.o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 08:07 PM
02-23-2006 08:07 PM
Re: Xwindow problem
I am not able to ping from local machine to server.
From server please find the o/p of the commands you specified.
# ping 9.184.42.224
PING 9.184.42.224: 64 byte packets
----9.184.42.224 PING Statistics----
5 packets transmitted, 0 packets received, 100% packet loss
# nslookup 9.184.42.224
Name Server: bcmd10dc01.int.bcm-ltd.co.uk
Address: 28.1.254.31
Trying DNS
looking up FILES
*** No hostname information is available for "9.184.42.224"
# who -u
root console Jan 17 14:00 old 2179
in867566 ttyp1 Feb 24 08:48 . 27363 10.214.2.84
in228614 ttyp2 Feb 24 08:11 . 26565 10.219.106.26
in867566 ttyp3 Feb 24 08:28 . 26972 hp9w1608
in228614 ttyp4 Feb 24 09:02 . 28878 10.219.106.26
#
Anything can be guessed from this? How can i go ahead?
Thanks
s.o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 08:12 PM
02-23-2006 08:12 PM
Re: Xwindow problem
Hi Arun
tried exporting DISPLAY as you said. still the same error is coming.
# export DISPLAY=10.214.2.84:0.0
# echo $DISPLAY
10.214.2.84:0.0
# sam
The DISPLAY environment variable is set to "10.214.2.84:0.0", but
the current configuration won't allow sam to run on that display.
The DISPLAY environment variable may be incorrect, or, if you are
running sam remotely, you may need to allow the remote system
to access your local X server by typing
/usr/bin/X11/xhost +hp7d104
on your local machine.
Do you want to proceed using the terminal version of sam?
(yes or no) [yes]
Thanks
s.o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 08:16 PM
02-23-2006 08:16 PM
Re: Xwindow problem
PING 9.184.42.224: 64 byte packets
----9.184.42.224 PING Statistics----
5 packets transmitted, 0 packets received, 100% packet loss
# nslookup 9.184.42.224
Name Server: bcmd10dc01.int.bcm-ltd.co.uk
Address: 28.1.254.31
Trying DNS
looking up FILES
*** No hostname information is available for "9.184.42.224"
# who -u
root console Jan 17 14:00 old 2179
in867566 ttyp1 Feb 24 08:48 . 27363 10.214.2.84
in228614 ttyp2 Feb 24 08:11 . 26565 10.219.106.26
in867566 ttyp3 Feb 24 08:28 . 26972 hp9w1608
in228614 ttyp4 Feb 24 09:02 . 28878 10.219.106.26
#
>>
what is your IP-Address in who -u output? If you are login from your machine. What is the ip-address of your client machine in this?
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 09:25 PM
02-23-2006 09:25 PM
Re: Xwindow problem
My pc ip address is 9.184.42.224.
From this machine i am connecting to 10.214.2.84(hp9xxxx). From there i am telneting to hp7xxxxx.(ip address 28.1.254.25).The who -u is not showing my pc ip. but it is showing my hp9xxxx ip.
in867566 ttyp1 Feb 24 08:48 . 27363 10.214.2.84
Thanks
s.o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 10:33 PM
02-23-2006 10:33 PM
Re: Xwindow problem
Then you can get sam view on your first machine 9.184.* You can get sam view in step-up machine. If you want to have the view then you have to setup routing table to the machine directly. So that you can get it.
May be you can login with step-up machine with GUI based from there get the GUI of real machine. That is possible.
--
Muthu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 10:56 PM
02-23-2006 10:56 PM
Re: Xwindow problem
thanks for your reply. But I cant understand it. Could you please tell me the step by step procedure.
Thanks
s.o
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2006 11:48 PM
02-23-2006 11:48 PM
Re: Xwindow problem
The logic is simple,
1) Xmanager from PC 9.184.42.224
2) From, hp9xxxx open a telnet window to hp7xxxx
3) in hp7xxxx, do this,
# export DISPLAY=hp9xxxx:0.0
4) Execute "sam" in hp7xxxx
5) You will get a xwindow in hp9xxx
6) See the window from XManager in PC..
Hope this is clear.
-Arun