No login dialog on remote Xserver

Hi,

I have 2 identical x86-64 servers running the same version of Solaris 10 (details below). One arrived about a month before the other, so I set them up separately and, although I kept notes etc and tried to set the second one up the same, it isn't working quite right. The issues I have, which I think are probably related are:

1) When I use -query to get a X login dialog this works on the server 1 but not on server 2. Server 2 is running the dtlogin service, displays the login dialog on the local console ok, but remotely connects to the Xserver ok but just displays a black page.

2) Both servers use DHCP and this is working i.e. they are allocated an ip address etc. BUT, on server 2, when I ping -s the server name with no domian, it lists the loopback address, but on server 1 I get the correct address. DHCP has added a line at the end of the hosts file on both boxes: <ip address> <server name without domain>, but this is ignored on server 2. If I ping with domain, I get the correct ip. If I disconnect server 2 by dropping the dhcp management (ifconfig bcme0 dhcp drop) and add a line back into the hosts file as above, it still resolves to the loopback address.

3) If instead of using -query I use -indirect to get a chooser this works on server 1 but not server 2. Server 1 and server 2 are in server 1 generated the list. Server 1 is listed without domain suffix, server 2 is listed with. If I select server 2 (the problem one) I get the gray checkered/grid typical X background but no dialog.

I feel these issues are related and I'd like to correct them or understand them before I start doing the db install on server2.

Please suggest anything which comes to mind!

Thanks

=====

> uname -X

System = SunOS

Node = server2

Release = 5.10

KernelID = Generic_118855-33

Machine = i86pc

BusType = <unknown>

Serial = <unknown>

Users = <unknown>

OEM# = 0

Origin# = 1

NumCPU = 2

====

====

> ping -s server2.ii-uk.com

PING server2.ii-uk.com: 56 data bytes

64 bytes from server2.ii-uk.com (X.XX.XXX.222): icmp_seq=0. time=0.104 ms

64 bytes from server2.ii-uk.com (X.XX.XXX.222): icmp_seq=1. time=0.0690 ms

64 bytes from server2.ii-uk.com (X.XX.XXX.222): icmp_seq=2. time=0.111 ms

64 bytes from server2.ii-uk.com (X.XX.XXX.222): icmp_seq=3. time=0.0600 ms

64 bytes from server2.ii-uk.com (X.XX.XXX.222): icmp_seq=4. time=0.0620 ms

^C

-server2.ii-uk.com PING Statistics-

5 packets transmitted, 5 packets received, 0% packet loss

round-trip (ms) min/avg/max/stddev = 0.0600/0.0812/0.111/0.024

> ping -s server2

PING server2: 56 data bytes

64 bytes from localhost (127.0.0.1): icmp_seq=0. time=0.107 ms

64 bytes from localhost (127.0.0.1): icmp_seq=1. time=0.113 ms

64 bytes from localhost (127.0.0.1): icmp_seq=2. time=0.0680 ms

64 bytes from localhost (127.0.0.1): icmp_seq=3. time=0.0610 ms

^C

-server2 PING Statistics-

4 packets transmitted, 4 packets received, 0% packet loss

round-trip (ms) min/avg/max/stddev = 0.0610/0.0872/0.113/0.027

====

[3265 byte] By [ACGa] at [2007-11-27 7:39:39]
# 1

Hi again,

For info, the first two issues were fixed by removing "loghost SERVER2" from the /etc/inet/ipnodes file on server2 (it wasn't there on server1). It was:

#

# Internet host table

#

127.0.0.1localhostloghost SERVER2

X.XX.XXX.222server2# Added by DHCP

The loghost entry probably was added via some GUI I was tinkering with, as I didn't add it directly. It appears to be something to do with sending log messages to a different host. Why adding it with the local server name has the side effects I found, I don't know. Does anyone else?

Also in this file on server1 is the line:

::1localhost

I tried adding this on server2 but it didn't have any effect I could see.

Finally, problem (3) wasn't really a problem at all - now XDMCP is working on server2, if I "-indirect" to that box it is listed without domain name and server1 with (i.e. the box running the chooser does not have the domain name after it's name).

Thanks if you read my post originally.

ACGa at 2007-7-12 19:20:20 > top of Java-index,Solaris Operating System,Solaris Essentials - General Technical Questions...