Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 May 2016 17:50:43 -0300
From:      =?UTF-8?B?T3RhY8OtbGlv?= <otacilio.neto@bsd.com.br>
To:        freebsd-x11@freebsd.org
Subject:   Re: xdm and chooser woes
Message-ID:  <398fd6b8-851e-d8e5-dacd-6207748f9ee9@bsd.com.br>
In-Reply-To: <20160526120929.d677f25281472909476510f5@aei.mpg.de>
References:  <20160526120929.d677f25281472909476510f5@aei.mpg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-x11
> To unsubscribe, send any mail to "freebsd-x11-unsubscribe@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@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






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?398fd6b8-851e-d8e5-dacd-6207748f9ee9>