Operating System - HP-UX
1753821 Members
8572 Online
108805 Solutions
New Discussion юеВ

X11 need to be ebable in sshd fo HP UX

 
SOLVED
Go to solution
Harikrishnan L
Frequent Advisor

X11 need to be ebable in sshd fo HP UX

Hi Folks,

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.
12 REPLIES 12
Kapil Jha
Honored Contributor
Solution

Re: X11 need to be ebable in sshd fo HP UX

What exactly you doing what X11 software u using.
what 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+
I am in this small bowl, I wane see the real world......
Steven Schweda
Honored Contributor

Re: X11 need to be ebable in sshd fo HP UX

> Kindly help me to use X11 Forwarding.

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?
Harikrishnan L
Frequent Advisor

Re: X11 need to be ebable in sshd fo HP UX

HI ALL,

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
#
Steven Schweda
Honored Contributor

Re: X11 need to be ebable in sshd fo HP UX

> I am using X-Manager [...]

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
Kapil Jha
Honored Contributor

Re: X11 need to be ebable in sshd fo HP UX

Still not clear how u doing ur stuff.....
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+
I am in this small bowl, I wane see the real world......
Harikrishnan L
Frequent Advisor

Re: X11 need to be ebable in sshd fo HP UX

Hi friends,

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.

Harikrishnan L
Frequent Advisor

Re: X11 need to be ebable in sshd fo HP UX

attachment 2
Harikrishnan L
Frequent Advisor

Re: X11 need to be ebable in sshd fo HP UX

Attachment 3
Kapil Jha
Honored Contributor

Re: X11 need to be ebable in sshd fo HP UX

My server has same setting as your what happens when u run
/usr/bin/X11/xclock from xstart does it starts cause bdf would not show any output from xstart.

BR,
Kapil+
I am in this small bowl, I wane see the real world......