Bug 625593 - Xdmcp improvements to fix all kind of Xvnc related issues
Summary: Xdmcp improvements to fix all kind of Xvnc related issues
Status: RESOLVED FIXED
: 522055 546632 (view as bug list)
Alias: None
Product: openSUSE 11.3
Classification: openSUSE
Component: X.Org (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Deadline: 2010-08-30
Assignee: Stefan Dirsch
QA Contact: E-mail List
URL:
Whiteboard: . maint:released:11.3:35046
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-26 15:20 UTC by Stefan Dirsch
Modified: 2016-04-15 12:52 UTC (History)
7 users (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
xorg-server-xdmcp.patch (8.43 KB, patch)
2010-07-26 15:22 UTC, Stefan Dirsch
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Dirsch 2010-07-26 15:20:29 UTC
-------------------------------------------------------------------
Thu Jul  8 16:49:54 CEST 2010 - max@suse.de

- Fix some shortcomings in the xdmcp implementation. It used to
  suppress loopback addresses from the list of potential display
  addresses to report to xdm, even when talking to xdm through
  a loopback address. Now only display addresses of the same kind
  as the xdm connection are reported to xdm.

  This most notably helps Xvnc servers contacting the local xdm,
  because they were severely affected by the suppression of
  loopback addresses.

Related openSUSE bugreports (AFAIK):

#546632
#623254
Comment 1 Stefan Dirsch 2010-07-26 15:22:53 UTC
Created attachment 378370 [details]
xorg-server-xdmcp.patch

Fix by Reinhard Max.
Comment 2 Stefan Dirsch 2010-07-26 15:23:58 UTC
The fix is already in openSUSE:Factory. I would like to request an update for openSUSE 11.3.
Comment 3 Christian Dengler 2010-07-29 15:47:39 UTC
+1 for an update
Comment 4 Marcus Meissner 2010-07-29 15:50:31 UTC
sounds good +1
Comment 5 Swamp Workflow Management 2010-08-02 11:35:51 UTC
The SWAMPID for this issue is 34931.
This issue was rated as low.
Please submit fixed packages until 2010-08-30.
Also create a patchinfo file using this link:
https://swamp.suse.de/webswamp/wf/34931
Comment 6 Christian Dengler 2010-08-02 11:37:21 UTC
Be so kind and submit a patchinfo. Update started.
Comment 7 Stefan Dirsch 2010-08-02 12:23:21 UTC
Thanks. SR #44373, Patchinfo #34936.
Comment 8 Reinhard Max 2010-08-18 15:03:09 UTC
Please don't release this update for now, as it seems that my patch causes Xvnc to exit when a user logs in and [xkg]dm passes control to the window manager.
Comment 9 Stefan Dirsch 2010-08-18 15:22:41 UTC
reopen
Comment 10 Reinhard Max 2010-08-18 17:23:02 UTC
*** Bug 623254 has been marked as a duplicate of this bug. ***
Comment 11 Stefan Dirsch 2010-08-19 14:53:12 UTC
 45853  State:new     By:rmax         When:2010-08-19T15:48:18
        submit:       home:rmax:branches:openSUSE:11.3:Update:Test/xorg-x11-server  ->  openSUSE:11.3:Update:Test   
        Descr: fixed the xdmcp fix
Comment 12 Stefan Dirsch 2010-08-20 01:59:16 UTC
*** Bug 546632 has been marked as a duplicate of this bug. ***
Comment 13 Forgotten User xs3PtXj4XH 2010-08-29 11:39:25 UTC
This is going to be shipped out as an update to 11.3 through the update repositories?
Comment 14 Forgotten User xs3PtXj4XH 2010-08-29 11:40:09 UTC
Sorry for the double-post, but will these fixes also be backported to 11.2 which displays many of the same issues?
Comment 15 Stefan Dirsch 2010-08-29 13:43:34 UTC
(In reply to comment #13)
> This is going to be shipped out as an update to 11.3 through the update
> repositories?

Yes.

(In reply to comment #14)
> Sorry for the double-post, but will these fixes also be backported to 11.2
> which displays many of the same issues?

Yes.
Comment 16 Swamp Workflow Management 2010-08-30 12:42:59 UTC
Update released for: xorg-x11-Xvnc, xorg-x11-Xvnc-debuginfo, xorg-x11-server, xorg-x11-server-debuginfo, xorg-x11-server-debugsource, xorg-x11-server-extra, xorg-x11-server-extra-debuginfo, xorg-x11-server-sdk
Products:
openSUSE 11.3 (debug, i586, x86_64)
Comment 17 Martin Amadeo 2010-08-30 21:51:05 UTC
I can't see that bug 623254 (which is marked as clone of this one) has been resolved in x86_64. I would like to ask you consider marking that one as blocker.
Comment 18 Stefan Dirsch 2010-08-30 22:05:58 UTC
(In reply to comment #17)
> I can't see that bug 623254 (which is marked as clone of this one) has been
> resolved in x86_64. I would like to ask you consider marking that one as
> blocker.

Why do you think so? Did you already test the xorg-x11-server update? I'm not even sure whether it is already available for openSUSE 11.3.
Comment 19 Martin Amadeo 2010-08-30 22:15:40 UTC
Hi, I supposed that the update released today (GMT-3) includes 11.3 x86_64. 

I tested this following update in two different computers running openSuse 11.3 with gdm, kdm and xdm.

Information for package xorg-x11-server:

Repository: @System
Name: xorg-x11-server
Version: 7.5_1.8.0-10.3.1
Arch: x86_64
Vendor: openSUSE
Installed: Yes
Status: up-to-date
Installed Size: 3.9 MiB
Summary: X.Org Server


As a side note, the remote login attempts were made through local lan and physically remote openvpn.
Comment 20 Stefan Dirsch 2010-08-30 22:42:57 UTC
Indeed xorg-x11-server 7.5_1.8.0-10.3.1 already contains the latest Xdmcp fix.
Comment 21 Martin Amadeo 2010-08-30 23:07:31 UTC
Ok, I am willing to help in any way I can but I don't follow you.
Should I f.e. test, attach some info, wait or report a new case? Thanks
Comment 22 Stefan Dirsch 2010-08-31 00:56:27 UTC
Bug #625593 has been opened as meta bug just for tracking the xorg-x11-server package update addressing the known Xdmcp issues. I would prefer that you open a new bug report, since I'm not convinced whether you see the same issue we addressed for Bug 546632 and Bug #623254. Thanks.
Comment 23 Forgotten User 6yMpDEBP2y 2010-08-31 06:08:51 UTC
Version 7.5_1.8.0-10.3.1 of xorg-x11-Xvnc, xorg-x11-server-extra and xorg-x11-server do not resolve the issues for gdm  (i.e. Bug #623254 should not be marked a duplicate of this one and should not be closed.)
Comment 24 Martin Amadeo 2010-08-31 06:57:03 UTC
I found a way to get it work on one of my computers (see below), but I'm afraid Keith is right. But nevertheless I was looking what did I miss or wrong, since that bug describes exactly what I got on several installations on desktop and laptop 11.3 but in my case all them are 64 the bit version.

Solution/workaround/things that I've done
- Remove ipv6 entries and add an alias ipv4-localhost to localhost, in /etc/hosts file (still having localhost as a name for ipv4)
- Change the vnc xinet.d startup command to -query ipv4-localhost
- Updated to xorg-x11-server 7.5_1.8.0-10.3.1
- Added LISTEN 0.0.0.0 to
- Rebooted and none happened.
- Then changed /etc/sysconfig/displaymanager and set default to kdm. But during installation I've chosen GNOME and no KDE package was installed except the few default ones given my choice of GNOME.
- Rebooted again and none happened.
- Reverted the change in the vnc xinetd.d startup command
- Rebooted and now have the default xdm gray login screen but after login I get a normal remote gnome session.

As I said, I was pretty sure at least the description of 623254 matches in all mine except for the 64 architecture, and tried  to find where did I got wrong and found that results. Thanks.
Comment 25 Martin Matuska 2010-09-01 10:00:24 UTC
A good workaround for this problem is to use GDM without ipv6 support.

I have rebuilt gdm from the official 11.3 sources without ipv6 support:
http://www.vx.sk/download/packages/opensuse/11.3/
Comment 26 Reinhard Max 2010-09-01 14:03:03 UTC
Please post comments regarding the gdm issue that remains after installing the fixed xorg-x11-Xvnc package to bug #623254 only.
Comment 27 Forgotten User xs3PtXj4XH 2010-09-05 04:28:23 UTC
Great! I'll test this in the next few days.  Looking forward to the 11.2 backport.
Comment 28 Reinhard Max 2010-09-28 12:02:58 UTC
*** Bug 522055 has been marked as a duplicate of this bug. ***
Comment 29 Stefan Dirsch 2010-10-07 12:53:07 UTC
*** Bug 546632 has been marked as a duplicate of this bug. ***
Comment 30 Bernhard Wiedemann 2016-04-15 12:52:02 UTC
This is an autogenerated message for OBS integration:
This bug (625593) was mentioned in
https://build.opensuse.org/request/show/45855 Factory / xorg-x11-server