Hello,

The kdmrc %n node is ALWAYS showing up as "localhost" on LTSP DHCP even
though I am getting $DISPLAYs of ws040, ws041, ws042, etc...

What gives? It is like the kdmrc file cannot see the DNS resolution!

Help!

Here is my kdmrc file:

[Desktop0]
BackgroundMode=VerticalGradient
BlendBalance=100
BlendMode=NoBlending
ChangeInterval=60
Color1=138,148,198
Color2=104,112,150
CurrentWallpaper=0
LastChange=0
MinOptimizationDepth=1
MultiWallpaperMode=NoMulti
Pattern=
Program=
ReverseBlending=false
UseSHM=false
Wallpaper=/usr/share/backgrounds/images/default.png
WallpaperList=
WallpaperMode=Centred

[General]
PidFile=/var/run/kdm.pid
Xservers=/usr/share/config/kdm/Xservers

[Shutdown]
HaltCmd=/sbin/halt
RebootCmd=/sbin/reboot
UseLilo=false

[X-*-Core]
AllowNullPasswd=true
AllowRootLogin=true
AllowShutdown=Root
Authorize=true
AutoReLogin=true
Chooser=/opt/ltsp/i386/etc/X11/xdm
Reset=/usr/share/config/kdm/Xreset
Resources=/etc/X11/Xresources
Session=/usr/share/config/kdm/Xsession
SessionsDirs=/usr/share/xsessions
Setup=/usr/share/config/kdm/Xsetup
Startup=/usr/share/config/kdm/Xstartup

[X-*-Greeter]
AntiAliasing=true
ColorScheme=WindowsXP
DefaultUser=ws240
EchoMode=OneStar
FaceSource=AdminOnly
FailFont=Sans,10,-1,5,75,0,0,0,0,0
FocusPasswd=false
GUIStyle=Windows
GreetFont=Sans,12,-1,5,75,0,0,0,0,0
GreetString=Welcome (%n)
GreeterPos=50,50
HiddenUsers=adm,alias,amanda,apache,bin,bind,daemo n,exim,falken,ftp,games,gdm,gopher,halt,httpd,iden t,ingres,kmem,lp,mail,mailnull,man,mta,mysql,named ,news,nfsnobody,nobody,nscd,ntp,operator,pcap,pop, postfix,postgres,qmaild,qmaill,qmailp,qmailq,qmail r,qmails,radvd,reboot,rpc,rpcuser,rpm,sendmail,shu tdown,squid,sympa,sync,tty,uucp,xfs,xten,ws240,ws2 41,ws242,ws243,ws244,ws246,ws247,ws248,ws249
Language=en_US
LogoArea=Logo
LogoPixmap=/opt/ltsp/templates/k12linux/k12ltsp.jpg
MaxShowUID=65000
MinShowUID=500
PreselectUser=Default
SelectedUsers=
SessionTypes=default,failsafe,gnome,reset_desktop, kde,icewm
ShowUsers=NotHidden
SortUsers=true
StdFont=Sans,10,-1,5,50,0,0,0,0,0
UseBackground=true
UserCompletion=true
UserList=true

[X-:*-Core]
AllowNullPasswd=true
AllowRootLogin=true
AllowShutdown=All
NoPassEnable=true
NoPassUsers=ws241,ws242,ws244,ws245,ws246,ws247,ws 248,ws249

[X-:*-Greeter]
AllowClose=false
AuthComplain=true

[X-:0-Core]
AutoLogin1st=true
AutoLoginEnable=true
AutoLoginSession=icewm
AutoLoginUser=ws240

[X-localhost:0-Core]
AutoLogin1st=true
AutoLoginEnable=true
AutoLoginPass=catalog
AutoLoginUser=ws240

[X-localhost:0-Greeter]
DefaultUser=ws240
PreselectUser=Default

[X-ws241:0-Core]
AutoLoginEnable=true
AutoLoginPass=catalog
AutoLoginUser=ws241

[X-ws241:0-Greeter]
DefaultUser=ws241
PreselectUser=Default

[X-ws242:0-Core]
AutoLoginEnable=true
AutoLoginPass=catalog
AutoLoginUser=ws242

[X-ws242:0-Greeter]
DefaultUser=ws242
PreselectUser=Default

[X-ws243:0-Core]
AutoLoginEnable=true
AutoLoginPass=catalog
AutoLoginUser=ws243

[X-ws243:0-Greeter]
DefaultUser=ws243
PreselectUser=Default

[X-ws244:0-Core]
AutoLoginEnable=true
AutoLoginPass=catalog
AutoLoginUser=ws244

[X-ws244:0-Greeter]
DefaultUser=ws244
PreselectUser=Default

[X-ws245:0-Core]
AutoLoginEnable=true
AutoLoginPass=catalog
AutoLoginUser=ws245

[X-ws245:0-Greeter]
DefaultUser=ws245
PreselectUser=Default

[X-ws246:0-Core]
AutoLogin1st=true
AutoLoginEnable=true
AutoLoginPass=catalog
AutoLoginUser=ws246

[X-ws246:0-Greeter]
DefaultUser=ws246
PreselectUser=Default

[X-ws247:0-Core]
AutoLoginEnable=true
AutoLoginPass=catalog
AutoLoginUser=ws247

[X-ws247:0-Greeter]
DefaultUser=ws247
PreselectUser=Default

[X-ws248:0-Core]
AutoLoginEnable=true
AutoLoginPass=catalog
AutoLoginUser=ws248

[X-ws248:0-Greeter]
DefaultUser=ws248
PreselectUser=Default

[X-ws249:0-Core]
AutoLoginEnable=true
AutoLoginPass=catalog
AutoLoginUser=ws249

[X-ws249:0-Greeter]
DefaultUser=ws249
PreselectUser=Default

[Xdmcp]
Enable=true
SourceAddress=false
Willing=/usr/share/config/kdm/Xwilling
Xaccess=/usr/share/config/kdm/Xaccess