vnc with xdm on :0 and xauth problem
James Weatherall
jnw "at" realvnc.com
Fri Nov 25 18:26:00 2005
Ben,
FYI, you seem to have replied to a post other than the one you meant to!
Cheers,
Wez @ RealVNC Ltd.
> -----Original Message-----
> From: ben "at" crystal.hildred.pri [mailto:ben "at" crystal.hildred.pri]
> Sent: 25 November 2005 18:13
> To: James Weatherall
> Cc: vnc-list "at" realvnc.com
> Subject: Re: vnc with xdm on :0 and xauth problem
>
> How Rude!
> Addmitedly This list sees an abundance fo verry
> common questions which are more of a general systems
> administration or general networking questions, But when a
> somewhat more experenced person asks a slightly more
> involved question There is no reason to be so condesending.
> There are many perfectly legitamate reasons for
> attempting to do Thomas D is attempting, of which two of the
> most common are to use a headless box as a vnc server, and a
> wider range of graphical modes in a virtual machine.
> I am all for sending a brief primer on port
> forwarding to new subscribers as part of the subscription
> confermation message (I am working on something to fit that
> bill), but to insult someone just becouse they are venturing
> past what has been done Is a pit mutch.
>
> James,
> most xdm servers are configured to setup
> authintication for the X server when run from the Xservers
> file. It appears that you have a mit magic cookie
> pre-installed. I don't think this is what you want. You
> probably whould have this problem with whichever server you
> were using, but I am by no means the worlds greatest expert
> on X authentication, and this is not nesasarly related
> directly to vnc or xvnc.
> As You have probably guessed, Running xvnc on :0 is
> a bit unusual, and WILL NOT SHOW ON THE LOCAL CONSOLE unless
> you are running a vnc viewer on the local console.
>
> Happy Hacking
> Ben
>
> On Thu, Nov 10, 2005 at 11:41:36AM -0000, James Weatherall wrote:
> > 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
> > _______________________________________________
> > VNC-List mailing list
> > VNC-List "at" realvnc.com
> > To remove yourself from the list visit:
> > http://www.realvnc.com/mailman/listinfo/vnc-list