[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XDMCP broadcasts on all machines



On Tue, Aug 31, 1999 at 09:20:42AM -0400, Aleksandra Bytnerowicz wrote
> Igor Mozetic, the Debian List and Brandon Harris:
> 
> I came across a post for XDMCP and broadcast posting to the debian lists
> + in November 1998. SPecifically, the message which was written was:
> 
> http://www.debian.org/Lists-Archives/debian-user-9811/msg00336.html
> 
> I have a subnet of 6 Linux boxes and tried to achieve what you mentioned
> +, that a XDMCP chooser pops up in each monitor querying for ITSELF and 
> +BROADCASTING to other machines. By opening up the Xaccess file:
> 
> *.domain.com
> *.domain.com CHOOSER BROADCAST
> 
> and commenting the Xservers line:
> 
> #:0 local /usr/X11R6/bin/X
> 
> makes the local machine act like an X terminal
> 
> and running X -indirect some_host.domain.com I can see the other machine
> +s via broadcast, but of course cannot see the XDM for my own machine.
> 
> In effect, I am trying to get each machine to show a CHOOSER with ITSELF
> + and all the other hosts on the subnet which are collected via BROADCAS
> +T, and let me select my choice of machine to login to.
> 
> Any ideas? Any suggestions would be appreciated!
> 

I run a one-line script called Xchooser out of inittab:
/usr/bin/X11/X -indirect `/bin/hostname --fqdn` &> /var/log/XChooser.errors

My Xaccess file contains:
*.localnet
localhost
*.localnet  CHOOSER BROADCAST
localhost   CHOOSER BROADCAST

(*.localnet is my local ethernet)

and it works for me.  I suspect that you either want to use the FQDN
for your host as the indirect host rather than localhost, or add 
entries for localhost to /etc/X11/xdm/Xaccess.  I do it this way,
as if I do X -indirect localhost I get two entries for the localhost 
(FQDN and localhost).



John P.
-- 
huiac@camtech.net.au
john@huiac.apana.org.au
"Oh - I - you know - my job is to fear everything." - Bill Gates in Denmark


Reply to: