Operating System - HP-UX
1748035 Members
4699 Online
108757 Solutions
New Discussion юеВ

Re: After about 5 minutes i can login to server.

 
SOLVED
Go to solution
Mousa55
Super Advisor

Re: After about 5 minutes i can login to server.

Hi All,

no error but only when i try to connect by xmanager, no output and give me connection failed

and this all command output

root@ruxdb02 > swlist -l product | grep -i cde
CDE B.11.23 HP-UX CDE User Interface
PHSS_31110 1.0 CDE Base Patch for Itanium - based system

PHSS_35884 1.0 CDE Base Patch
PHSS_35885 1.0 CDE Applications Patch

root@ruxdb02 > ps -ef | grep dt
root 2286 1 0 09:31:55 ? 0:00 /sbin/sh /usr/dt/bin/dtrc
root 2303 2286 0 09:31:55 ? 0:00 /usr/dt/bin/dtlogin
root 6842 6708 0 11:15:01 pts/ta 0:00 grep dt

root@ruxdb02 > ps -ef | grep xfs
root 51 0 0 09:21:48 ? 0:39 vxfsd
root 6848 6708 0 11:15:22 pts/ta 0:00 grep xfs

root@ruxdb02 > export DISPLAY=10.8.1.51
root@ruxdb02 > echo $DISPLAY
10.8.1.51
root@ruxdb02 > cat /etc/hosts
## Configured using SAM by root on Fri Jun 6 14:12:17 2008
## Configured using SAM by root on Mon Apr 5 08:16:37 2010
# @(#)B.11.11_LRhosts $Revision: 1.9.214.1 $ $Date: 96/10/08 13:20:01 $
#
# The form for each entry is:
#
#
# For example:
# 192.1.2.34 hpfcrm loghost





thanks
#
# See the hosts(4) manual page for more information.
# Note: The entries cannot be preceded by a space.
# The format described in this file is the correct format.
# The original Berkeley manual page contains an error in
# the format description.
#

127.0.0.1 localhost loopback
10.8.1.51 ruxdb02
Asif Sharif
Honored Contributor

Re: After about 5 minutes i can login to server.

DISPLAY variable must be set,

export DISPLAY=:0.0

Example
export DISPLAY=192.168.0.10:0.0

After that run the xmanager and update please.

Regards,
Asif Sharif
Regards,
Asif Sharif
Mousa55
Super Advisor

Re: After about 5 minutes i can login to server.

Hi,

thanks but the problem is still.

root@ruxdb02 > echo $DISPLAY
10.8.33.57:0.0

thanks
Sunil Sheoran
Frequent Advisor

Re: After about 5 minutes i can login to server.

Hi,

Thanks for sahring the command o/p's

Please check the following command o/p

#hostname

is your o/p hostname is same as it appear in /etc/hosts in csae it is different please correct it. & do the below step also.
if it is same please the below steps & try again

#/sbin/init.d/dtlogin.rc stop
#/sbin/init.d/dtlogin.rc start

In case of any error in o/p please share.

Thanks & Regards
Sunil

Mousa55
Super Advisor

Re: After about 5 minutes i can login to server.

Hi,
thanks for replay

root@ruxdb02 > echo $DISPLAY
10.8.33.57:0.0
root@ruxdb02 > hostname
ruxdb02

root@ruxdb02 > /sbin/init.d/dtlogin.rc stop
root@ruxdb02 > /sbin/init.d/dtlogin.rc start

and it's still and please find the attached file.

thanks
Asif Sharif
Honored Contributor

Re: After about 5 minutes i can login to server.

Please check port is not blocked;

netstat -an | grep 177

Regards,
Asif Sharif
Regards,
Asif Sharif
Sunil Sheoran
Frequent Advisor

Re: After about 5 minutes i can login to server.

Hi

Check for the below command & make sure your port is open .

#cat /etc/services |grep -i 177
xdmcp 177/tcp # X Display Manager Control Protocol
xdmcp 177/udp # X Display Manager Control Protocol

Thanks
Sunil
Mousa55
Super Advisor

Re: After about 5 minutes i can login to server.

Hi,

thanks for all the problem it's resolved when i remove some hostname/ip in /etc/hosts file


thanks again for all