GDM sometimes does not start correct on XDMCP remote session

Bug #62031 reported by Hans-Werner Dietz
4
Affects Status Importance Assigned to Milestone
gdm (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

I am using dapper with Gnome and want to do remote logon with XDMCP from a Windows PC by using XMING and this doesnt work everytime.

After a local logon on the dapper machine everything is fine.
Then remote logon via XDMCP also works. Get a warning that I am already logged in and everything is fine.

Without local logon on the dapper machine the remote logon fails (partially). Graphical logon and password worked, but the result of the logon is an empty brown background in XMING without nautilus.
 When I login via putty and SSH and call "ps -e" I can see a GDM but no nautilus.

This happens with dapper 6.06 DVD version. I also make an update to last version via internet last week, so I thing now I have 6.06.01. The problem stay.

For setup of remote login I used the graphical gdmsetup (remote...->"same as local")
I crosschecked the gdm.conf... everything is like I expected but only works with remote XDMCP session if I make a local logon before.

Found some blogs of people who get this brown sreens also with connection from CYGWIN to dapper. So maybe it is reproduceble with CYGWIN and WMING.

Revision history for this message
Caroline Ford (secretlondon) wrote :

Change package to gdm

Revision history for this message
Hans-Werner Dietz (wassaski) wrote :

of course package is gdm (2.14.10-0ubuntu1)

Revision history for this message
Adolfo R. Brandes (arbrandes) wrote :

This happens to me in Edgy.

Revision history for this message
Hans-Werner Dietz (wassaski) wrote :

Some additional info:
I have to be logged in with my own account locally. If another user is logged in locally me remote login fails in same way.

I put enable=true into [debug] section of gdm.conf. Now I have a big log-file and I can see the differences at the entries in /var/log/syslog.
But I am a programmer working on Windows and small embedded systems and my knowledge about about X- and GDM- startup is not good enough for this task. For me it looks a little bit like access-right problems, but I don't have a real clue and don't know how to debug this.

Revision history for this message
Hans-Werner Dietz (wassaski) wrote :

On my PC know I have a strange solution:
If I switch off XMings UNICODE clipboard, login via XDMCP to Ubuntu 6.06 works also if I am not logged in locally.

C:\Programme\Xming\Xming.exe -query <computername> -screen 0 1152x854 -nounicodeclipboard

After this, GDM worked on my PC (without any clipboard support between WindowsXP and Ubuntu). If I try to enable the clipboard, start of GDM crashed like described if I am not logged in locally.

Strange...

Revision history for this message
EricL (eric-lapuyade) wrote :

I have seen what I think is the same problem (Ubuntu 6.10).

I found that disabling the Windows XP SP2 firewall solved the problem. I suppose there is a bug in the XP SP2 firewall that blocks something it shouldn't.

Revision history for this message
Hans-Werner Dietz (wassaski) wrote :

It's something different. I never use the XP SP2 firewall.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Do you have some firewall on your network?

Revision history for this message
Hans-Werner Dietz (wassaski) wrote :

No, on the network itself is no firewall between the Windows and the Ubuntu PC. And for all tests I also switched off my personal firewall on the Windows PC (zonealarm).

With an enabled clipboard in Xming successfull remote logon really only depends on former local logon at ubuntu machine.

Using the strange disable-clipboard-workaround I can successfull remote-logon with and without active zonealarm on my windows PC.

Revision history for this message
Hans-Werner Dietz (wassaski) wrote :

Sorry, it has to be "remote logon ... FROM my windows PC", not "...ON my windows PC"

Revision history for this message
Basilio Kublik (sourcercito) wrote :

Hi there
Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Can you try with the development version of Ubuntu, Hardy Heron?

Thanks in advance.

Changed in gdm:
assignee: nobody → sourcercito
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Hans-Werner Dietz (wassaski) wrote :

Hi,

yes it is still an issue, but I can live with it. I use the workaround with disabling XMING's unicode clipboard, and that's good enough for me. Up to now I made no updates for XMING or the Ubuntu system. Even if it is the desktop version I use this system as comfortable file- and subversion- server on a network without internet access.

That's also the reason I need a little bit time to setup an other system with Hardy Heron. I don't like the idea to put a new system on my fine running server. I will try to install Hardy Heron into a Virtual maschine on my Laptop where I have an actual version of VMWare player. Hope I can give some more info end of next week.

Thanks
Hans-Werner

Revision history for this message
Hans-Werner Dietz (wassaski) wrote :

Hello Basilio,

thanks for your attention on my problem. Meanwhile I setup the VMWare player and was able to connect via XDMCP to the virtual machine.

The issue is going away and it looks like it was a problem between Ubuntu and old XMing versions which can be fixed using XMing 6.9.0.31

Some details if somebody else has the same problem:
First I make a try connecting my XMing version to the new installed Ubuntu 8.04 developement version and I get another problem: A flashing XMing window, unable to reach the brown Ubuntu Login screen.

I dont get the "half"- logon (start and run GDM on Ubuntu 6.06 but no Nautilus) using my old XMing versions in combination with Ubuntu 8.04. But it is also possible that this different behavior is forced by differences in timing connecting to the 2 machines.

After updating XMing to last downloadeble version 6.9.0.31 logon into Ubuntu 8.04 was possible without any additional XMing options.

I crosschecked XMing 6.9.0.31 with my old Ubuntu 6.06 version (the real machine stays unchanged). Now It works also fine and I also no longer need the workaround which disables XMing's unicode clipboard (-nounicodeclipboard)

So for me it looks like Xming versions I used 2006 (6.9.0.15 and 6.9.0.18) have a problem on connectiong to Ubuntu.

Thanks

Hans-Werner

Revision history for this message
Pedro Villavicencio (pedro) wrote :

do you consider the gdm bug fixed then?

Revision history for this message
Hans-Werner Dietz (wassaski) wrote :

Yes, I consider the bug is fixed

Revision history for this message
Sebastien Bacher (seb128) wrote :

closing the bug

Changed in gdm:
assignee: sourcercito → desktop-bugs
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.