> > Hi > > I want to set up a linux workstation to allow logins either to local > users(preferably through gdm[1]) or to a remote server through XDMCP. > > Is it possible? > > Or is it possible to set a local "headless" xdm server and have the local > X server login to either localhost or remote_server ? > > (I tried both) > > What I could not figure out is how to set gdm to show the hosts chooser. > My current gdm.conf is attached. (Needless to say that I went over the > docs and somehowtos and some web searches). > > Any idea on how to enable it or what else I'm doing wrong? >
Does http://www.menet.umn.edu/~kaszeta/unix/xterminal/chooser.html relevant to your case? > > [1] I saw in kdm's configuration directory a README which mentions that > KDM's configurations is auto-generated from the files under > /etc/X11/xdm. > I couldn't figure out when this is supposed to happen, and which > config files I'm supposed to edit, so I switched to gdm. Xdm (and Wdm) > are generally much less fun to work with) > > -- > Tzafrir Cohen > mailto:[EMAIL PROTECTED] > http://www.technion.ac.il/~tzafrir > > > > -- Attached file included as plaintext by Listar -- > -- File: gdm.conf > > [daemon] > AutomaticLoginEnable=false > AutomaticLogin= > AlwaysRestartServer=false > Configurator=/usr/sbin/gdmconfig --disable-sound --disable-crash-dialog > GnomeDefaultSession=/usr/share/gnome/default.session > Chooser=/usr/bin/gdmchooser --disable-sound --disable-crash-dialog > DefaultPath=/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/bin > DisplayInitDir=/etc/X11/gdm/Init > Greeter=/usr/bin/gdmlogin --disable-sound --disable-crash-dialog > Group=gdm > HaltCommand=/sbin/shutdown -h now > KillInitClients=true > LogDir=/var/lib/gdm > PidFile=/var/run/gdm.pid > PostSessionScriptDir=/etc/X11/gdm/PostSession/ > PreSessionScriptDir=/etc/X11/gdm/PreSession/ > FailsafeXServer= > XKeepsCrashing=/etc/X11/gdm/XKeepsCrashing > XKeepsCrashingConfigurators=/usr/sbin/XFdrake /usr/bin/X11/XF86Setup >/usr/bin/X11/Xconfigurator > RebootCommand=/sbin/shutdown -r now > RootPath=/sbin:/usr/sbin:/bin:/usr/bin:/usr/bin/X11:/usr/local/bin:/usr/bin > ServAuthDir=/var/lib/gdm > SessionDir=/etc/X11/gdm/Sessions/ > SuspendCommand= > User=gdm > UserAuthDir= > UserAuthFBDir=/tmp > UserAuthFile=.Xauthority > TimedLoginEnable=false > TimedLogin= > TimedLoginDelay=30 > StandardXServer=/usr/bin/X11/X > FlexibleXServers=5 > Xnest=/usr/bin/X11/Xnest -name Xnest > > [security] > AllowRoot=false > AllowRemoteRoot=false > AllowRemoteAutoLogin=false > RelaxPermissions=0 > RetryDelay=3 > UserMaxFile=65536 > SessionMaxFile=524388 > VerboseAuth=true > > [xdmcp] > Enable=true > HonorIndirect=true > MaxPending=4 > MaxPendingIndirect=4 > MaxSessions=16 > MaxWait=30 > MaxWaitIndirect=30 > DisplaysPerHost=1 > Port=177 > Willing=/etc/X11/gdm/Xwilling > > [gui] > GtkRC= > MaxIconWidth=128 > MaxIconHeight=128 > > [greeter] > TitleBar=true > ConfigAvailable=true > Browser=true > DefaultFace=/usr/share/mdk/faces/user-default-mdk.png > DefaultLocale=he > >Exclude=bin,daemon,adm,lp,sync,shutdown,halt,mail,news,uucp,operator,nobody,gdm,postgres,pvm,games,gopher,sympa,squid,mysql,postfix,xfs,nobody,apache,zope,ldap,fcron,root,mulix,shlomif,dictd,zev,htdig,azvi > Font=-*-arial-bold-r-normal-*-*-180-*-*-*-*-iso8859-8,* > GlobalFaceDir=/usr/share/faces/ > Icon=/usr/share/pixmaps/gdm.xpm > LocaleFile=/etc/X11/gdm/locale.alias > Logo=/usr/share/pixmaps/gdm-screen.png > Quiver=true > SystemMenu=true > Welcome=Welcome to %n > Welcome[es]=Bienvenido a %n > Welcome[de]=Willkommen auf %n > Welcome[fr]=Bienvenue sur %n > Welcome[cs]=Vítejte na %n > Welcome[no]=Velkommen til %n > Welcome[nn]=Velkomen til %n > Welcome[he]=%n-ì íéàáä íéëåøá > LockPosition=false > SetPosition=false > PositionX=0 > PositionY=0 > XineramaScreen=0 > #Type can be 0=None, 1=Image, 2=Color > BackgroundType=2 > BackgroundImage= > BackgroundScaleToFit=true > BackgroundColor=#21449c > BackgroundRemoteOnlyColor=true > BackgroundProgram= > ShowGnomeChooserSession=true > ShowGnomeFailsafeSession=false > ShowXtermFailsafeSession=true > > [chooser] > DefaultHostImg=/usr/share/pixmaps/nohost.png > HostImageDir=/usr/share/hosts/ > ScanTime=3 > Hosts=localhost,csd.cs.technion.ac.il,csa.ac.technion.ac.il > Broadcast=yes > > [debug] > Enable=true > > [servers] > 0=Standard vt7 > #1=Standard > #Note: If you want to make sure X runs on a specific virtual console on linux, > # you can use the following (for console 7): > #0=Standard vt7 > > [server-Standard] > name=Standard server > command=/usr/bin/X11/X > flexible=true > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > -- Shaul Karl email: shaulka(at-no-spam)bezeqint.net Please substitute (at-no-spam) with an at - @ - character. (at-no-spam) is meant for unsolicitate mail senders only. ================================================================To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]