vnc with xdm on :0 and xauth problem

Tomas D u0giene "at" yahoo.com
Wed Nov 9 22:13:01 2005


Hi, I'm trying to attach Xvnc to xdm's :0 screen.. here's quick setup info:
in /etc/X11/xdm/Xservers
I've got:
:0 local /usr/pkg/bin/Xvnc -auth /home/wally/.Xauthority -broadcast -geometry 960x600 -depth 8
-rfbwait 120000 -rfbauth /root/.vnc/passwd -fp
/usr/X11R6/lib/X11/fonts/misc/,/usr/X11R6/lib/X11/fonts/75dpi/ -co /usr/X11R6/lib/X11/rgb

checking xauth list from user wally I've got:
$xauth list
calpton.net.wally:2  MIT-MAGIC-COOKIE-1  998c54afd88111a82e58a846a6a756ec
wally/unix:2  MIT-MAGIC-COOKIE-1  998c54afd88111a82e58a846a6a756ec
athlon/unix:0  MIT-MAGIC-COOKIE-1  998c54afd88111a82e58a846a6a756ec

where athlon from /etc/hosts file:
192.168.100.200 athlon

xdm is started as deamon
------
I think everthing here looks just fine, I am able to connect to my server vnc port and get login
promt, but after I enter all the details and press return I'm getting same logon screen and
followin in /var/log/xdm.log:
AUDIT: Wed Nov  9 22:05:14 2005: 601 Xvnc: client 2 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
09/11/05 22:05:14 Xvnc version 3.3.3r2
09/11/05 22:05:14 Copyright (C) AT&T Laboratories Cambridge.
09/11/05 22:05:14 All Rights Reserved.
09/11/05 22:05:14 See http://www.uk.research.att.com/vnc for information on VNC
09/11/05 22:05:14 Desktop name 'x11' (wally:0)
09/11/05 22:05:14 Protocol version supported 3.3
AUDIT: Wed Nov  9 22:05:16 2005: 601 Xvnc: client 2 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
/usr/X11R6/bin/xrdb: Can't open display ':0'
xdm error (pid 551): WARNING: keyboard on display calpton.net.wally:0 could not be secured
AUDIT: Wed Nov  9 22:05:17 2005: 601 Xvnc: client 3 rejected from local host
  Auth name: XDM-AUTHORIZATION-1 ID: -1
Xlib: connection to ":0.0" refused by server
Xlib: Client is not authorized to connect to Server
Error: Can't open display: :0

if you could please point me what I'm doing wrong...


		
__________________________________ 
Yahoo! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com