- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- X11 need to be ebable in sshd fo HP UX
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
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
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
тАО03-11-2010 04:49 AM
тАО03-11-2010 04:49 AM
I not able to login to the server using x manager.
my server settings are below.
# pwd
/opt/ssh/src/ssh
#vi sshd_config
#X11Forwarding no
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#TCPKeepAlive yes
# whereis ssh
ssh: /usr/bin/ssh /opt/ssh/bin/ssh /opt/ssh/share/man/man1/ssh.1
#
Kindly help me to use X11 Forwarding.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 06:38 AM
тАО03-11-2010 06:38 AM
Solutionwhat error?
no infomation how can anyone help?
i would do is
export DISPLAY=IP.WIndow.desktop.Mahine:0.0
then start the X11 software and run any command using ssh.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 09:10 AM
тАО03-11-2010 09:10 AM
Re: X11 need to be ebable in sshd fo HP UX
Kindly explain what the problem is with X
forwarding.
> I not able to login to the server using x
> manager.
"I am not able" is not a useful problem
description. It does not say what you did.
It does not say what happened when you did
it.
It might help if you revealed what the SSH/X
client system is.
> [...] HP UX [...]
Often informative:
uname -a
ssh -V
> i would do is
> export DISPLAY=IP.WIndow.desktop.Mahine:0.0
>
> then start the X11 software and run any
> command using ssh.
And this would avoid all that pesky
encryption for the X traffic on your network.
If you leave the X stuff all unencrypted,
then why bother using SSH at all?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 08:05 PM
тАО03-11-2010 08:05 PM
Re: X11 need to be ebable in sshd fo HP UX
Thanks for your replay.
I am using X-Manager tool to connect the server for client access. I am getting only the blank page while trying with x-manager.
X-Manager using X11 protocal and 177 port
# uname -a
HP-UX maa2tamh B.11.31 U ia64 0066831140 unlimited-user license
# ssh -V
OpenSSH_5.1p1+sftpfilecontrol-v1.2-hpn13v5, OpenSSL 0.9.7m 23 Feb 2007
HP-UX Secure Shell-A.05.10.026, HP-UX Secure Shell version
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 08:52 PM
тАО03-11-2010 08:52 PM
Re: X11 need to be ebable in sshd fo HP UX
I know nothing about Xmanager, but ...
> [...] to connect the server [...]
Connect how, exactly?
I gather that Xmanager is an X server for
Windows. You seem to have it running.
Did you run anything on the HP-UX system
which might try to display something back on
the Windows+Xmanager system?
Have you seen this:?
http://www.netsarang.com/tutorial/xmanager/list
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 09:06 PM
тАО03-11-2010 09:06 PM
Re: X11 need to be ebable in sshd fo HP UX
a I said did you exported the DISPLAY with correct IP.
do Xstart
put various inputs than if some error comes let us know.
enter hostname,protocol,username,passwd,the command you want to run as X windows.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 09:53 PM
тАО03-11-2010 09:53 PM
Re: X11 need to be ebable in sshd fo HP UX
I am new to HP-UX i have attached teh screen shot of xstart adn xmanager form windows system.
Xmanager was worked for me before installing ssh. after installing the ssh is not working.
The same problem has been solved in some other HP-UX machines by changing the sshd_config file X11forwarding yes line.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 09:54 PM
тАО03-11-2010 09:54 PM
Re: X11 need to be ebable in sshd fo HP UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 09:54 PM
тАО03-11-2010 09:54 PM
Re: X11 need to be ebable in sshd fo HP UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 10:02 PM
тАО03-11-2010 10:02 PM
Re: X11 need to be ebable in sshd fo HP UX
/usr/bin/X11/xclock from xstart does it starts cause bdf would not show any output from xstart.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 10:11 PM
тАО03-11-2010 10:11 PM
Re: X11 need to be ebable in sshd fo HP UX
well
only difference I see is
X11UseLocalhost no
below is the lines from man page
***************
X11UseLocalhost Specifies whether sshd should bind the X11 forwarding server to the loopback address or to the wildcard address. By default,sshd binds the forwarding server to the loopback address and sets the hostname part of the DISPLAY environment variable to ``localhost''. This prevents remote hosts from connecting to the proxy display. However, some older X11 clients may not function with this configuration. X11UseLocalhost may be set to ``no'' to specify that the forwarding server should be bound to the wildcard address. The argument must be ``yes'' or ``no''. The default is ``yes''.
****************
Can you check other systems for this parameter.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-11-2010 10:24 PM
тАО03-11-2010 10:24 PM
Re: X11 need to be ebable in sshd fo HP UX
From your picture I understand that the X Manager which is an Xserver, uses the default 6000 port not 177. So if you have any firewall blocking port 6000 you should unblock it in order to be able to make a connection.
You can test that your connection is allowed like this:
ssh to your HP-UX server.
telnet station_ip_address_with_Xmanager 6000
If you get a connection it ok, no firewall blocking, and your Xserver is running fine.
The procedure to get a display on your windows station is like this:
ssh to your HP-UX server.
export DISPLAY=station_ip_address_with_Xmanager:0.0
then fire up some x application like xclock to verify that things are running.
This is independent of your connection type to the HP-UX server, meaning that you can connect through rsh, telnet, ssh or whatever you would like/permit to and it works.
If you are using putty, you can automate setting of DISPLAY variable.
In this thread:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1412280
Viktor Balogh has published a link from where you can setup putty to achieve this.
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2010 06:03 AM
тАО03-12-2010 06:03 AM
Re: X11 need to be ebable in sshd fo HP UX
What are you trying to do?
354516.jpg shows "Remote Execution" >
"Execution Command" as "bdf". "bdf" is not
an X application. Have you tried anything
like, say, "xterm"?
> The same problem has been solved in some
> other HP-UX machines [...]
You have "bdf" there on _other_ systems?
354517.jpg shows the output from "bdf". I
don't know what else you expected to happen.
> The procedure to get a display on your
> windows station is like this:
>
> ssh to your HP-UX server.
>
> export DISPLAY=station_ip_address_with_Xmanager:0.0
Does _everyone_ use SSH to connect to a
remote host and then bypass all the SSH
encryption for his X traffic? Yikes.