cancel
Showing results for 
Search instead for 
Did you mean: 

x11 forwarding?

 
SOLVED
Go to solution
fizan
Super Advisor

x11 forwarding?

our database team needs to use the gui x11 forwarding how to enable it on the server? hp-ux11iv2 and ia64 hp server rx2600?
28 REPLIES
Steven Schweda
Honored Contributor

Re: x11 forwarding?

> [...] how to enable it on the server?

How did you _disable_ it?

How are they connecting to the server?
RSH/remsh? SSH? Telnet?

From what are they connecting to the server?
An X terminal? Some UNIX workstation? Some
mysterious Windows system? A Macintosh? (I
could go on.)

What, exactly, do you want to do? What does
"x11 forwarding" mean to you?

echo $DISPLAY
Michael Steele_2
Honored Contributor
Solution

Re: x11 forwarding?

Hi

Start you X PC application up on your desktop.

ipconfig from PC and note your ip address

telnet to server

export DISPLAY=xxx.xxx.xxx.xxx:0
(* NOte the :0 *)

xterm &
Support Fatherhood - Stop Family Law
Steven Schweda
Honored Contributor

Re: x11 forwarding?

> ipconfig from PC and note your ip address

Or ask the server whence you come.

rux # who -R
root pts/0 Sep 24 20:41 (alp-l.antinode.info)

rux # rem_host=` who -R | sed -e 's/.*(\(.*\)).*/\1/' `

rux # export DISPLAY="${rem_host}:0.0"

rux # echo $DISPLAY
alp-l.antinode.info:0.0


With my weak psychic powers, I'm at such a
disadvantage. I didn't even know that we
were using Telnet from a PC with X software.
fizan
Super Advisor

Re: x11 forwarding?

# From A.03.10.005 onwards
X11Forwarding yes
X11DisplayOffset 10
X11UseLocalhost yes
#PrintMotd yes
#PrintLastLog yes
#KeepAlive yes
#UseLogin no
/opt/ssh/etc. but still its throwing error saying not able to login.
Steven Schweda
Honored Contributor

Re: x11 forwarding?

> # From A.03.10.005 onwards

What are you talking about?

> /opt/ssh/etc. but still its throwing error
> saying not able to login.

What, exactly, are you doing? What, exactly,
happens when you do it?

"not able to login" is a long way from "x11
forwarding"

Do you ever answer questions, or do you only
ask more questions, and never with enough
information to make a useful answer possible?
Wait. I think I already know the answer to
that one.
fizan
Super Advisor

Re: x11 forwarding?

sorry the actual error it throws as ::

failed to start up the ssh-agent server !!
fizan
Super Advisor

Re: x11 forwarding?

i checked the log file it says as---

Sep 26 13:15:37 Hpux1150 sshd[6387]: Could not reverse map address 192.168.1.103?

fizan
Super Advisor

Re: x11 forwarding?

i added the local ip in the etc/hosts

192.168.1.103 probeserver

then also it shows same error
fails to startup the ssh-agent server!!


kindly help me.
Steven Schweda
Honored Contributor

Re: x11 forwarding?

> sorry the actual error it throws as ::

WHAT IS "it"???

I'll try one more time.

What, exactly, are you doing?

What, exactly, happens when you do it?
fizan
Super Advisor

Re: x11 forwarding?

when i connect via x-manager through my desktop it throws error as :failed to start the ssh-agent server!! and it asks to check the log messages, so i just tailed the syslogs it shows as Sep 26 13:15:37 Hpux1150 sshd[6387]: Could not reverse map address 192.168.1.103. so i added the 192.168.1.103 in the /etc/hosts , so now also it shows same error as failed to start the ssh-agent server!!
Michael Steele_2
Honored Contributor

Re: x11 forwarding?

You can't start the xserver on the hp-ux system, correct? Check your /etc/rc.log for both ssh and cde.

Also, is there a ip lookup in x-windows that substitutes the hostname and then, say, writes the hostname in the title window.
Support Fatherhood - Stop Family Law
TTr
Honored Contributor

Re: x11 forwarding?

> X11Forwarding yes
> X11DisplayOffset 10
> X11UseLocalhost yes

You must also uncomment lines in the ssh client on the rx2660 server in the ssh_client file.

ForwardAgent yes
ForwardX11 yes
fizan
Super Advisor

Re: x11 forwarding?

in rc.log nothing is found out regarding ssh and cde logins, how to overcome this error?
fizan
Super Advisor

Re: x11 forwarding?

You must also uncomment lines in the ssh client on the rx2660 server in the ssh_client file.?

in which path the file is located to edit and wat details should be uncommented in that file?
TTr
Honored Contributor

Re: x11 forwarding?

I mistyped. It is the ssh_config file.

ssh_config: ssh client config file
sshd_config: ssh server config file
fizan
Super Advisor

Re: x11 forwarding?

in server side i have edited as u said but in client side how to perform it on the server itself the client file exsists or in the client machine?
TTr
Honored Contributor

Re: x11 forwarding?

The ssh_config is edited on the rx2600 also. Then you go to your desktop and you try to connect using x11.
fizan
Super Advisor

Re: x11 forwarding?

still it shows the same error i have stop start the secsh service once also
TTr
Honored Contributor

Re: x11 forwarding?


> when i connect via x-manager through my desktop it throws error as :failed to start the ssh-agent server!!

> still it shows the same error...

Did you check any logs on the desktop? What are you using on the desktop as x-manager? Does it have an ssh client available?
fizan
Super Advisor

Re: x11 forwarding?

its a windows machine from were they are trying to connect via x-manager. so wat needs to be checked?
Steven Schweda
Honored Contributor

Re: x11 forwarding?

> its a windows machine [...]

How long did we wait for that bit of info?

Perhaps in the next few days you could
start to describe the software on "my
desktop". For example, what are you using
as a X server? SSH client?

I'm through asking. The rest of you can have
at it.
TTr
Honored Contributor

Re: x11 forwarding?

Ok so you are using x-manager on your windows desktop to connect to your rx2600 server.

Have you connected succesfully from your windows desktop using plain ssh connection (NO X11) using an ssh client such as Putty?

Have you verified your x-manager configuration on the desktop?

Which mode of x-manager do you use? xstart or xdmcp? For your needs, the "xstart" method is the most appropriate.

Have you done the necessary configuration on the x-manager xstart client?
fizan
Super Advisor

Re: x11 forwarding?

ya by using x-manager--x-start we are connecting form windows.. what needs to be configured over there?
Michael Steele_2
Honored Contributor

Re: x11 forwarding?

I vote we put the beast out of its misery. This is way too painful. Let's unplug the animal and do the humane thing and bury it in the ground
Support Fatherhood - Stop Family Law