xdm and chooser woes

Otacílio otacilio.neto at bsd.com.br
Thu May 26 20:50:48 UTC 2016


Em 26/05/2016 07:09, Gerrit Kühn escreveu:
> Hi all,
>
> I have a very old-school indirect xdm/chooser list for a couple of
> machines (Linux and FreeBSD). This works fine with the chooser running on
> a Linux box. The chooser on a FreeBSD box comes up with the chooser list,
> but after selection I do not get a login window. Instead, I get the message
> "Cannot connect to xdm" in xdm.log and after some blinking and flashing
> of the screen I get the chooser back. This behaviour is always the same, no
> matter if I choose the local (FreeBSD machine) or a different (remote) one.
>
> I can get a login window from a FreeBSD machine just fine when
> contacting it directly  with "X -query <host>", but not going over the
> chooser on that machine with "X -indirect <host>". As it works fine using
> the chooser from a Linux box, it looks like something is broken between
> the chooser and the xdm login on my FreeBSD machine.
> Using Google, I found someone describing exactly the same issue a couple
> of years ago: <https://forums.freebsd.org/threads/5904/>
> Unfortunately, there is no solution mentioned there.
>
> Any hints would be greatly appreciated...
>
>
> cu
>    Gerrit
> _______________________________________________
> freebsd-x11 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe at freebsd.org"

Dear

I will report a problem that I face with Xdm and your report remember me 
about then. I'm not saying that this is the same problem or this is the 
solution, but maybe, maybe can be a hit. I'm not a FreeBSD hacker, 
specialist or other thing further a curious user.

I use xdm on all my virtual machines to log in. But, I face a problem 
with xdm from ports. When I inform the login and password the screen 
blinks some times and returns to xdm screen login. The solution that I'm 
found to this was apply this patch to xdm port:
[ota at nostromo /usr/ports/x11/xdm]$ svnlite diff Makefile
Index: Makefile
===================================================================
--- Makefile    (revision 413756)
+++ Makefile    (working copy)
@@ -13,7 +13,8 @@
  XORG_CAT=    app
  USE_XORG=    xmu x11 xau xinerama xpm xdmcp xt xext xaw
  CONFIGURE_ARGS+=    --with-xdmconfigdir=${PREFIX}/lib/X11/xdm \
-            --with-xdmscriptdir=${PREFIX}/lib/X11/xdm
+            --with-xdmscriptdir=${PREFIX}/lib/X11/xdm \
+            --disable-xdm-auth
  USES=        cpe libtool
  CPE_PRODUCT=    x_display_manager
  CPE_VENDOR=    x


For my problem, the solution was add --disable-xdm-auth to configure 
args. I not saying that this is a solution for your problem. I send it 
in the hope that it can help you of some way.

[]'s

-Otacílio





More information about the freebsd-x11 mailing list