Operating System - HP-UX
1829741 Members
1342 Online
109992 Solutions
New Discussion

explicit kill or server shutdown

 

explicit kill or server shutdown

Hello,

I want to make a make_net_recovery from a System with the Ignite-Gui.
But the Ignite-System cannot open the display from the other System where I could choice which directories I may to backup.
It always brings the failure „X connection to IP:10.0 broken. (explicit kill or server shutdown)
A display with the „hardware information“ of the System works.

When I start the backup from the System to the Ignite-system with make_net_recovery, everething is OK.

Thanks for help
7 REPLIES 7
Bill Hassell
Honored Contributor

Re: explicit kill or server shutdown

This is an Xwindow issue, not Ignite. Troubleshoot the network setup between the remote machine and your display device (your PC?) Look at things like DNS and your display server's IP address as defined in the remote system.


Bill Hassell, sysadmin
Tor-Arne Nostdal
Trusted Contributor

Re: explicit kill or server shutdown

This is for sure an X-Window issue.

Based on your DISPLAY variable I guess you run login via SSH.

The IP would then be pointing back to the server itself, and there be tunneled through your sshd.

Make sure you have allowed X11Forwarding.
See:
man sshd
man sshd-config
Check your /opt/ssh/etc/sshd_config

If you enable it, you need to restart the sshd.
/sbin/init.d/secsh stop ; /sbin/init.d/secsh start

/Tor-Arne
I'm trying to become President of the state I'm in...

Re: explicit kill or server shutdown

Hello,

Thanks for the fast answer.

I checked the sshd_config.
It already stand on:
#X11Forwarding no
X11Forwarding yes
#X11DisplayOffset 10
#X11UseLocalhost yes
X11UseLocalhost no
#PrintMotd yes
#PrintLastLog yes
#KeepAlive yes
#UseLogin no
on the Ignite server and the remote system.
I can also open an xterm display on the remote system.
The Display ist set. The command Echo $DISPLAY on the Ignite system give me the IP:11.0 from the Ignite system.
On the remote system I become IP:11.0 from the remote system.

The DNS works, nslookup works fine. I can make a ssh connection from the Ignitesystem to the remote system and back with IP and the hostname.

Kind regards.
Tor-Arne Nostdal
Trusted Contributor

Re: explicit kill or server shutdown

Hi,
I did this from my X-client to do some checks:

X-Client --> ssh -X ServerA --> ssh -X ServerB, then started xclock

The X window is being piped from ServerB through ssh back to ServerA, then further to X-client

Display variables:
ServerA# DISPLAY=ServerA:10.0
ServerB# DISPLAY=ServerB:10.0

Both ServerA and ServerB must allow the X11 forwarding.

If I login from ServerA to ServerB via r-commands (rsh/remsh), I will not be able to tunnel the X11 traffic !!!
Error: Can't open display: IP:10.0
Error: Couldn't find per display information

As such, if Ignite try to execute a remote X-terminal on remote server, by using r-commands (not ssh), then it fails because it is outside your ssh tunnel.

/Tor-Arne
I'm trying to become President of the state I'm in...
Tor-Arne Nostdal
Trusted Contributor

Re: explicit kill or server shutdown

If you can't resolve this issue you might be enforced to do the X11 forwarding outside the ssh-tunnel.

This have some more requirements, but it is the "old way" of setting up the X-display:
- you must allow the X-display host to access your X-client display (xhost +ServerB)
- the X traffic must not be blocked by any firewalls
- after login with ssh to ServerA you must change the DISPLAY variable to
export DISPLAY=X-client:0.0

Depending on your X-client you might need to configure it also to really listen for X traffic from other hosts than itself (true for Linux clients which by default have nolisten)

/Tor-Arne
I'm trying to become President of the state I'm in...

Re: explicit kill or server shutdown

Hello,

Like you sayd.
I would like to make the make_net_recovery over ssh.
I make the connection from the Ig-system to the remote over ssh.

By making the connection to the remote system, the Ig.-system says.
â remotesystemâ being added to access control list.
Do you want to create a network system recovery archive >>> answer â yesâ
Command access using ssh(1M) to remotesystem was denied. Would you like to make a second attemt supplying the root password?... >>> answer â yesâ

Now, the IG.-system open a display from the remote system!!! >>> I write the root-password
(why can the IG.-system her open a display from the remote system?)
Then come the message:
X connection to IP-Ignite-system:10.0 broken. (explicit kill or server shutdown)

Raymond.

Re: explicit kill or server shutdown

Thanks for the assistance.

Raymond