Results 1 to 2 of 2
Hi, I'm a long time reader, first time poster
I'm having trouble remotely accessing gdm from one particular computer on my network.
The problem first started after I lost my ...
- 09-01-2006 #1Just Joined!
- Join Date
- Sep 2006
- Location
- Maidstone, UK
- Posts
- 2
Problem with remote access to gdm
Hi, I'm a long time reader, first time poster

I'm having trouble remotely accessing gdm from one particular computer on my network.
The problem first started after I lost my network connection in mid-session. I was making changes to the dhclient config at the time but i don't think the dhcp settings are the cause.
When I try to connect from the problem computer I see the blank Xserver canvas but nothing else appears to happen. I can see from the log files that the connection attempt starts OK but seems to get caught in some kind of loop. I've included /var/log/daemon.log for a successful and unsucessful connection attempt below.
EDIT: I've just found out that if I change the IP address of the problem Xserver computer I get a connection. Why is gdm not letting me connect from one particular IP? I'm now convinced that this has to do with loosing the network connection while I was in the middle of a session.
The gdm computer is running Ubuntu 6.0.6 Desktop
The Xserver computers are running Windows XP and Xming 6.9.0.11
No firewalls are active on any of the computers.
If anyone can help me out with this I'd be very grateful. I've been trying to get this fixed for three days now and it's driving me nuts!
Thanks
Mark
LOG 1 - Successful connection from computer A
LOG 2 - Failed connection from computer BCode:Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_decode: Received opcode BROADCAST_QUERY from client 192.168.0.12 Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_handle_query: Opcode 1 from 192.168.0.12 Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_host_allow: client->hostname is lisa.librium.local Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_send_willing: Sending WILLING to 192.168.0.12 Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_decode: Received opcode REQUEST from client 192.168.0.12 Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_handle_request: Got REQUEST from 192.168.0.12 Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_host_allow: client->hostname is lisa.librium.local Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_handle_request: xdmcp_pending=0, MaxPending=4, xdmcp_sessions=0, MaxSessions=16, ManufacturerID= Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_display_dispose_check (lisa.librium.local:0) Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_auth_secure_display: Setting up access for lisa.librium.local:0 Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_auth_secure_display: Setting up access Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_auth_secure_display: Setting up access for lisa.librium.local:0 - 1 entries Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_display_alloc: display=lisa.librium.local:0, session id=2104627135, xdmcp_pending=1 Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_send_accept: Sending ACCEPT to 192.168.0.12 with SessionID=2104627135 Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_decode: Received opcode MANAGE from client 192.168.0.12 Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_handle_manage: Got MANAGE from 192.168.0.12 Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_host_allow: client->hostname is lisa.librium.local Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_handle_manage: Got Display=0, SessionID=2104627135 Class=MIT-unspecified from 192.168.0.12 Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_xdmcp_handle_manage: Looked up lisa.librium.local:0 Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_choose_indirect_lookup: Host 192.168.0.12 not found Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_forward_query_lookup: Host 192.168.0.12 not found Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_display_manage: Managing lisa.librium.local:0 Sep 1 21:45:29 homer-ubuntu gdm[4368]: loop check: last_start 0, last_loop 0, now: 1157143529, retry_count: 0 Sep 1 21:45:29 homer-ubuntu gdm[4368]: Resetting counts for loop of death detection Sep 1 21:45:29 homer-ubuntu gdm[5716]: gdm_slave_start: Starting slave process for lisa.librium.local:0 Sep 1 21:45:29 homer-ubuntu gdm[5716]: gdm_slave_start: Loop Thingie Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_display_manage: Forked slave: 5716 Sep 1 21:45:29 homer-ubuntu gdm[5716]: gdm_slave_run: Opening display lisa.librium.local:0 Sep 1 21:45:29 homer-ubuntu gdm[5716]: gdm_slave_greeter: Running greeter on lisa.librium.local:0 Sep 1 21:45:29 homer-ubuntu gdm[5716]: gdm_slave_greeter: Greeter on pid 5722 Sep 1 21:45:29 homer-ubuntu gdm[5716]: Sending GREETPID == 5722 for slave 5716 Sep 1 21:45:29 homer-ubuntu gdm[4368]: Handling message: 'GREETPID 5716 5722' Sep 1 21:45:29 homer-ubuntu gdm[4368]: Got GREETPID == 5722 Sep 1 21:45:29 homer-ubuntu gdm[4368]: gdm_socket_handler: Accepting new connection fd 9
Code:Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_decode: Received opcode QUERY from client 192.168.0.22 Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_handle_query: Opcode 2 from 192.168.0.22 Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_host_allow: client->hostname is bart.munged.co.uk Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_send_willing: Sending WILLING to 192.168.0.22 Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_decode: Received opcode REQUEST from client 192.168.0.22 Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_handle_request: Got REQUEST from 192.168.0.22 Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_host_allow: client->hostname is bart.munged.co.uk Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_handle_request: xdmcp_pending=0, MaxPending=4, xdmcp_sessions=0, MaxSessions=16, ManufacturerID= Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_display_dispose_check (bart.munged.co.uk:0) Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_auth_secure_display: Setting up access for bart.munged.co.uk:0 Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_auth_secure_display: Setting up access Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_auth_secure_display: Setting up access for bart.munged.co.uk:0 - 1 entries Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_display_alloc: display=bart.munged.co.uk:0, session id=2104627136, xdmcp_pending=1 Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_send_accept: Sending ACCEPT to 192.168.0.22 with SessionID=2104627136 Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_decode: Received opcode MANAGE from client 192.168.0.22 Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_handle_manage: Got MANAGE from 192.168.0.22 Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_host_allow: client->hostname is bart.munged.co.uk Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_handle_manage: Got Display=0, SessionID=2104627136 Class=MIT-unspecified from 192.168.0.22 Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_xdmcp_handle_manage: Looked up bart.munged.co.uk:0 Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_choose_indirect_lookup: Host 192.168.0.22 not found Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_forward_query_lookup: Host 192.168.0.22 not found Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_display_manage: Managing bart.munged.co.uk:0 Sep 1 21:52:16 homer-ubuntu gdm[4368]: loop check: last_start 0, last_loop 0, now: 1157143936, retry_count: 0 Sep 1 21:52:16 homer-ubuntu gdm[4368]: Resetting counts for loop of death detection Sep 1 21:52:16 homer-ubuntu gdm[5993]: gdm_slave_start: Starting slave process for bart.munged.co.uk:0 Sep 1 21:52:16 homer-ubuntu gdm[5993]: gdm_slave_start: Loop Thingie Sep 1 21:52:16 homer-ubuntu gdm[4368]: gdm_display_manage: Forked slave: 5993 Sep 1 21:52:16 homer-ubuntu gdm[5993]: gdm_slave_run: Opening display bart.munged.co.uk:0 Sep 1 21:52:16 homer-ubuntu gdm[5993]: gdm_slave_run: Sleeping 1 on a retry Sep 1 21:52:17 homer-ubuntu gdm[5993]: gdm_slave_run: Sleeping 3 on a retry Sep 1 21:52:20 homer-ubuntu gdm[5993]: gdm_slave_run: Sleeping 5 on a retry Sep 1 21:52:25 homer-ubuntu gdm[5993]: gdm_slave_run: Sleeping 7 on a retry Sep 1 21:52:32 homer-ubuntu gdm[5993]: gdm_slave_run: Sleeping 9 on a retry Sep 1 21:52:41 homer-ubuntu gdm[5993]: gdm_slave_run: Sleeping 11 on a retry Sep 1 21:52:52 homer-ubuntu gdm[5993]: gdm_slave_run: Sleeping 13 on a retry Sep 1 21:53:05 homer-ubuntu gdm[5993]: gdm_slave_run: Sleeping 15 on a retry Sep 1 21:53:20 homer-ubuntu gdm[5993]: gdm_slave_run: Sleeping 17 on a retry Sep 1 21:53:37 homer-ubuntu gdm[5993]: gdm_slave_run: Sleeping 19 on a retry Sep 1 21:53:56 homer-ubuntu gdm[5993]: gdm_slave_quick_exit: Will kill everything from the display Sep 1 21:53:56 homer-ubuntu gdm[5993]: gdm_slave_quick_exit: Killed everything from the display Sep 1 21:53:56 homer-ubuntu gdm[4368]: mainloop_sig_callback: Got signal 17 Sep 1 21:53:56 homer-ubuntu gdm[4368]: gdm_cleanup_children: child 5993 returned 4 Sep 1 21:53:56 homer-ubuntu gdm[4368]: gdm_child_action: Aborting display bart.munged.co.uk:0 Sep 1 21:53:56 homer-ubuntu gdm[4368]: gdm_display_unmanage: Stopping bart.munged.co.uk:0 (slave pid: 0) Sep 1 21:53:56 homer-ubuntu gdm[4368]: gdm_display_dispose: Disposing bart.munged.co.uk:0 Sep 1 21:53:56 homer-ubuntu gdm[4368]: gdm_display_unmanage: Display stopped
- 12-22-2010 #2Just Joined!
- Join Date
- Nov 2006
- Posts
- 1
This might be a lookup issue.
Check on the remote system whether both forward and reverse lookup are pointing same client IP.
If it is different, the add client system's IP in /etc/hosts file.



