Different Hosts in different locations, behaving differently...

James Weatherall jnw "at" realvnc.com
Wed Jan 17 20:09:01 2007


>From what you've described, it almost looks like the xstartup script isn't
being run.  Are you sure that the user's xstartup script is readable and
executable, and that they "vncserver" Perl script hasn't been modified from
the out-of-the-box version?

Wez @ RealVNC Ltd.


> -----Original Message-----
> From: E Mail [mailto:eeeeeeeemail "at" gmail.com] 
> Sent: 17 January 2007 13:36
> To: James Weatherall
> Cc: VNC-List "at" realvnc.com
> Subject: Re: Different Hosts in different locations, behaving 
> differently...
> 
> Wez,
> 
> Which logs are you asking to check?   I meant to include in 
> my original note, the VNC log for both hosts has the same 
> info... is there a 'logging level' to change in VNC?
> 
> Working host:
> 
> Xvnc Free Edition 4.1.2 - built May 12 2006 17:52:56
> Copyright (C) 2002-2005 RealVNC Ltd.
> See http://www.realvnc.com for information on VNC.
> Underlying X server release 0, unknown
> 
> 
> Fri Oct 13 16:30:36 2006 
>  vncext:      VNC extension running!
>  vncext:      Listening for VNC connections on port 5909
>  vncext:      created VNC server for screen 0
> error opening security policy file 
> /usr/openwin/lib/X11/xserver/SecurityPolicy 
> Could not init font path element /usr/X/lib/X11/fonts/Type3/, 
> removing from list
> !
> Could not init font path element /usr/X/lib/X11/fonts/Type3/, 
> removing from list
> !
> 
> Fri Oct 13 16:31:05 2006
>  Connections: accepted: xx.xx.xx.xx::4225
>  SConnection: Client needs protocol version 3.8
>  SConnection: Client requests security type VncAuth(2)
> 
> Fri Oct 13 16:31:07 2006
>  VNCSConnST:  Server default pixel format depth 8 (8bpp) colour-map 
>  VNCSConnST:  Client pixel format depth 8 (8bpp) colour-map
> 
> Fri Oct 13 16:31:17 2006
>  Connections: closed: xx.xx.xx.xx::4225 (Clean disconnection)
>  SMsgWriter:  framebuffer updates 41
>  SMsgWriter:    ZRLE rects 65, bytes 45681 
>  SMsgWriter:    raw bytes equivalent 1047318, compression 
> ratio 22.926775
> 
> Not Working Host:
> Xvnc Free Edition 4.1.2 - built May 12 2006 17:52:56
> Copyright (C) 2002-2005 RealVNC Ltd.
> See http://www.realvnc.com <http://www.realvnc.com>  for 
> information on VNC.
> Underlying X server release 0, unknown
> 
> 
> Sat Jan  6 20:24:46 2007
>  vncext:      VNC extension running!
>  vncext:      Listening for VNC connections on port 5909 
>  vncext:      created VNC server for screen 0
> error opening security policy file 
> /usr/openwin/lib/X11/xserver/SecurityPolicy
> Could not init font path element /usr/X/lib/X11/fonts/Type3/, 
> removing from list
> !
> Could not init font path element /usr/X/lib/X11/fonts/Type3/, 
> removing from list
> !
> 
> Sat Jan  6 20:24:54 2007
>  Connections: accepted: xx.xx.xx.xx::2036
>  SConnection: Client needs protocol version 3.8
>  SConnection: Client requests security type VncAuth(2) 
> 
> Sat Jan  6 20:24:58 2007
>  VNCSConnST:  Server default pixel format depth 8 (8bpp) colour-map
>  VNCSConnST:  Client pixel format depth 8 (8bpp) colour-map
> 
> Sat Jan  6 20:27:08 2007
>  Connections: closed: xx.xx.xx.xx::2036 (Clean disconnection)
>  SMsgWriter:  framebuffer updates 80
>  SMsgWriter:    ZRLE rects 115, bytes 4403
>  SMsgWriter:    raw bytes equivalent 823180, compression 
> ratio 186.958892
> 
> 
> 
> 
> 
> On 1/17/07, James Weatherall <jnw "at" realvnc.com> wrote:
> 
> 	Ray,
> 	
> 	The thing to do is examine the log files for the 
> desktops you're running on
> 	the two systems.  If you find that one machine has 
> problems with the
> 	xstartup apps connecting to the desktop then check the 
> DISPLAY environment 
> 	variable.  We've heard of problems in the past both 
> where X apps can't
> 	connect to the X server because they're using the 
> :<display> form of DISPLAY
> 	and the X server isn't listening on Unix-domain 
> connections, and where 
> 	they're using the <host>:<display> form of DISPLAY and 
> the X server computer
> 	doesn't know its own name...
> 	
> 	Cheers,
> 	
> 	Wez @ RealVNC Ltd.
> 	
> 	
> 	> -----Original Message-----
> 	> From: vnc-list-admin "at" realvnc.com
> 	> [mailto:vnc-list-admin "at" realvnc.com] On Behalf Of E Mail
> 	> Sent: 17 January 2007 00:20 
> 	> To: VNC-List "at" realvnc.com
> 	> Subject: Different Hosts in different locations, behaving
> 	> differently...
> 	>
> 	> Hi all...
> 	>
> 	> Yep, from subject that shouldn't be too surprising...  but... 
> 	>
> 	> I am told (by sysadmins) the hosts are configured the same...
> 	>
> 	> Both are Sun Solaris v880 boxes:
> 	> $ uname -a
> 	> SunOS e08k230 5.8 Generic_117350-28 sun4u sparc 
> SUNW,Sun-Fire-880
> 	>
> 	> Both are using same xstartup file:
> 	> $ more xstartup
> 	> #!/bin/sh
> 	>
> 	> [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
> 	> xsetroot -solid grey
> 	> vncconfig -iconic & 
> 	> #xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP 
> Desktop" &
> 	> PATH=$PATH:/usr/dt/bin:/usr/X/bin
> 	> export PATH
> 	> /usr/dt/bin/Xsession
> 	> vncnote
> 	> kill `cat ${vncpidfile}` 
> 	>
> 	> One box, of course, all is well... the other, the VNC server
> 	> starts, but
> 	> when I connect the viewer, the screen is grey, but in the
> 	> upper left corner,
> 	> i see what looks like the cpu/disk monitor is displayed... 
> 	> that is all.
> 	>
> 	> I have run out of things to compare.  I pointed all this out
> 	> to the admin,
> 	> but they still claim the boxes are the same...   but 
> this seems to
> 	> tell me something 
> 	> is different...
> 	>
> 	> >From the 'bad' host, I am able to successfully export the
> 	> Xsession window,
> 	> so it does not appear to be a display issue at all.
> 	>
> 	> Anyone have ideas? 
> 	>
> 	> Thanks!!!
> 	> Ray
> 	> _______________________________________________
> 	> VNC-List mailing list
> 	> VNC-List "at" realvnc.com
> 	> To remove yourself from the list visit: 
> 	> http://www.realvnc.com/mailman/listinfo/vnc-list