Operating System - HP-UX
1849374 Members
6041 Online
104044 Solutions
New Discussion

Re: X windows configuration

 
Pua Leong Kiah
Occasional Contributor

X windows configuration

I have more than 1 interfaces in my D-Class HPUX 11.00. If I change order of the entries in my hosts file, I discovered I am not able to go beyond the logon window. The error message in the /var/dt/Xerrors is as follows :

AUDIT : Sun Jul 30 18:12:04 2000 : 1997 X: client 2 rejected from IP 172.16.3.10 port 49178

I would like to know if there is a change in the primary interface or change of hostname, how do I go about configuring the Xwindows to make it work again?

Thank you.
3 REPLIES 3
Thomas Schler_1
Trusted Contributor

Re: X windows configuration

Just changing the order of lines in /etc/
hosts should not have an effect on logon
behaviour. Changing the order of entries
maybe would have an effect.

Check /etc/rc.config.d/netconf if the
interface configurations are correct.
no users -- no problems
Pua Leong Kiah
Occasional Contributor

Re: X windows configuration

Thank you for your reply. Perhaps, I should give a fuller picture.

This problem arises from the installation of HPUX 11.00, in which I am not able to configure the J3516A NIC card. As such, I configure the built- in hpether card as the primary card. I configure this interface to have an IP address of 111.111.111.111.

After the HPUX 11.00 installation completed, I used swinstall to install the driver for J3516A NIC card. The IP addresses assigned are 172.16.3.10 ( lan0 ) and 172.16.2.1 ( lan1 ), which I would like lan0 to be my primary interface.

If the host file is as follows, I can proceed beyond the logon window.

127.0.0.1 localhost loopback
111.111.111.111 cmc-demo
172.16.3.10 cmc-demo
172.16.2.1 cmc-demo

However, if I move line 2 to the bottom, I will not be able to proceed beyond the logon window. An error message is shown in my initial posting. I can connect to the HPUX 11.00 through the 3 interfaces using telnet. So, I do not think there is any problem in the configuration of the NIC, but rather, it could have something to do with X windows security configuration.

In general, I will face X windows problems if I try to configure my J3516A NIC card during HPUX 11.00 installation. Does anyone has any good suggestions to overcome this?

LKP
Thomas Schler_1
Trusted Contributor

Re: X windows configuration

I don't know if it is a good idea to have
one hostname but three different IP numbers
for that hostname defined in /etc/hosts. Up to now, I avoided that. I use different hostnames for different cards (IP numbers)
within one host. That's just a comment.

By default, the security of X access is
user-based. Maybe changing to host-based
access helps because this is a lower level
of access control. Change to host-based
access by setting Dtlogin*authorize to
False within Xconfig and then reboot.

Host-based access control does not make use
of $HOME/.Xauthority.
no users -- no problems