vnc with xdm on :0 and xauth problem

James Weatherall jnw "at" realvnc.com
Thu Nov 10 11:47:01 2005


Tomas,

That's not how you make a console X server accessible via VNC.  Please see
the documentation at http://www.realvnc.com/products/free/4.1/x0.html for
details on how to do this.

Regards,

Wez @ RealVNC Ltd.
 

> -----Original Message-----
> From: vnc-list-admin "at" realvnc.com 
> [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of Tomas D
> Sent: 09 November 2005 22:13
> To: vnc-list "at" realvnc.com
> Subject: vnc with xdm on :0 and xauth problem
> 
> 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
> _______________________________________________
> VNC-List mailing list
> VNC-List "at" realvnc.com
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list