Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

XDMCP and GDM3

2,177 views
Skip to first unread message

Martin Feuersänger

unread,
Nov 28, 2011, 11:10:02 AM11/28/11
to
Hi list,

a while ago we played a bit with XDMCP at the local LUG gathering here in
Frankfurt, Germany.

One machine was running KDE 4.6.5 (sid) and the other Gnome 3 (squeeze).

We managed to get a Chooser on each machine from the respective other
machine by issuing
X :1 -broadcast -indirect <IP of remote machine>
Each time the Chooser offered both machines.

Now to my question.

I know which files control the KDM behavior in regard to XDMCP (kdmrc and
Xaccess, both in /etc/kde4/kdm/).
But for GDM3 I have no idea where this is done. It just worked. Xaccess at
/etc/X11/xdm/ had no influence so it must be somewhere else.

But where?

Any clues?

Thanks,
Martin


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/46519.168.87.60.62....@wm.feuersaenger.de

Rob Owens

unread,
Nov 29, 2011, 12:10:01 PM11/29/11
to
On Mon, Nov 28, 2011 at 04:22:07PM +0100, Martin Feuersänger wrote:
> Hi list,
>
> a while ago we played a bit with XDMCP at the local LUG gathering here in
> Frankfurt, Germany.
>
> One machine was running KDE 4.6.5 (sid) and the other Gnome 3 (squeeze).
>
> We managed to get a Chooser on each machine from the respective other
> machine by issuing
> X :1 -broadcast -indirect <IP of remote machine>
> Each time the Chooser offered both machines.
>
> Now to my question.
>
> I know which files control the KDM behavior in regard to XDMCP (kdmrc and
> Xaccess, both in /etc/kde4/kdm/).
> But for GDM3 I have no idea where this is done. It just worked. Xaccess at
> /etc/X11/xdm/ had no influence so it must be somewhere else.
>
On my Squeeze system, there is /etc/gdm3/daemon.conf, which has an XDMCP
section. I'm taking a wild guess here, but you might add something to
that section like:

chooser = true

I think the old gdm.conf file had a lot of commented out examples in it,
if you can dig that up from somewhere.

-Rob


--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/20111129170...@aurora.owens.net

Martin Feuersänger

unread,
Dec 1, 2011, 7:10:02 AM12/1/11
to
Hi Rob,

Rob Owens wrote:
> On Mon, Nov 28, 2011 at 04:22:07PM +0100, Martin Feuersänger wrote:
>> I know which files control the KDM behavior in regard to XDMCP (kdmrc
>> and Xaccess, both in /etc/kde4/kdm/).
>> But for GDM3 I have no idea where this is done. It just worked. Xaccess
>> at /etc/X11/xdm/ had no influence so it must be somewhere else.
>>
>>
> On my Squeeze system, there is /etc/gdm3/daemon.conf, which has an XDMCP
> section. I'm taking a wild guess here, but you might add something to that
> section like:

Thanks for the suggestion, I forgot that we actually set 'Enable=true' in
the XDMCP section of /etc/gdm3/daemon.conf, otherwise GDM3 doesn't even
listen on port 177.

Then it seems that GDM3 allows every host to access directly and indirectly.

Several configuration examples that cover all of xdm, gdm and kdm seem to
suggest this. They explicitly mention mention Xaccess for both xdm and kdm
but leave it out for gdm.

If GDM3 still behaves like the older GDM I guess
http://library.gnome.org/admin/gdm/stable/configuration.html.en
has the answer:

HonorIndirect=true

Enables remote execution of the chooser, 'true' seems to be default.

Regarding access control the document says:

"If GDM is compiled to support it, access from remote displays can be
controlled using the TCP Wrappers library. The service name is gdm

You should add

gdm:.my.domain

to your <etc>/hosts.allow, depending on your TCP Wrappers configuration."

Cheers,
Martin




--
To UNSUBSCRIBE, email to debian-us...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
Archive: http://lists.debian.org/6729.168.87.60.62....@wm.feuersaenger.de
0 new messages