Hi all, this is my first post to the list so please be kind. :) I've just got a new job and I have been asked to investigate using VNC to push a non-interactive session to multiple machines in order to negate the need of class room projectors (I work for a educational instution).
This works great for 30 Sun Blade 100s running Solaris 8. However we also have two labs of Sun Rays running off a couple of Solaris 8 based servers. This is where things get interesting, I compiled VNC from latest sources available from the Website on one of the Sun Ray servers using the GNU C compiler. The resulting binaries work seamesly on the Sun Blade 100 machines but not on a Sun Ray terminal connected to the Sun Ray server where they were created. Sun Rays connect to a X display, so when I run a VNC client session is connects to the localhost. I can get Xvnc to listen on a specified port and use a free X display, e.g: martindk:[yi]:/export/home/martindk/.vnc > vncserver -httpport 32100 -rfbport 32000 <-- Output removed --> New 'X' desktop is yi:164 Starting applications specified in /export/home/martindk/.vnc/xstartup Log file is /export/home/martindk/.vnc/yi:164.log martindk:[yi]:/export/home/martindk/.vnc > telnet 127.0.0.1 32000 Trying 127.0.0.1... Connected to 127.0.0.1. Escape character is '^]'. RFB 003.003 ^C ^CConnection closed by foreign host. <-----> When connecting with the client, normal authentication occurs: martindk:[yi]:/export/home/martindk/.vnc > vncviewer :32000 VNC server supports protocol version 3.3 (viewer 3.3) Password: ######## VNC authentication succeeded Desktop name "martindk's X desktop (yi:164)" Connected to VNC server, using protocol version 3.3 VNC server default format: 8 bits per pixel. True colour: max red 7 green 7 blue 3, shift red 0 green 3 blue 6 Using default colormap which is TrueColor. Pixel format: 32 bits per pixel. Most significant byte first in each pixel. True colour: max red 255 green 255 blue 255, shift red 0 green 8 blue 16 Same machine: preferring raw encoding vncviewer: VNC server closed connection The client session runs, opens a window, displays a grey screen then dies. <------> The server logs for the connection show this: 01/03/02 14:50:09 Xvnc version 3.3.3r2+tight1.2.2 01/03/02 14:50:09 Copyright (C) AT&T Laboratories Cambridge. 01/03/02 14:50:09 All Rights Reserved. 01/03/02 14:50:09 See http://www.uk.research.att.com/vnc for information on VNC 01/03/02 14:50:09 Desktop name 'X' (yi:164) 01/03/02 14:50:09 Protocol version supported 3.3 01/03/02 14:50:09 Listening for VNC connections on TCP port 32000 01/03/02 14:50:09 Listening for HTTP connections on TCP port 32100 01/03/02 14:50:09 URL http://yi:32100 01/03/02 14:50:18 Got connection from client 127.0.0.1 01/03/02 14:50:18 Protocol versionX connection to unix:158.0 broken (explicit kill or server shutdown). xterm: fatal IO error 32 (Broken pipe) or KillClient on X server "unix:158.0" 255 b 255, shift r 0 g 8 b 16 01/03/02 14:50:21 Using raw encoding for client 127.0.0.1 01/03/02 14:50:21 Using compression level 1 for client 127.0.0.1 01/03/02 14:50:21 Enabling X-style cursor updates for client 127.0.0.1 01/03/02 14:50:21 Enabling LastRect protocol extension for client 127.0.0.1 <------> Any1 have any ideas? I'm new to both VNC and to the Sun Ray system architecture so if I have missed anything obvious I'd love to know. Btw I did edit the `vncserver` script to increase the range used to find available X displays. Cheers Martin de Koning --------------------------------------------------------------------- To unsubscribe, mail [EMAIL PROTECTED] with the line: 'unsubscribe vnc-list' in the message BODY See also: http://www.uk.research.att.com/vnc/intouch.html ---------------------------------------------------------------------