I have a very basic question regarding the configuration of the 'xstartup' script for my Unix servers, 2 Alphas running Tru64 Unix v5.1 and a Mandrake Linux 7.2 system. How do I fix the 'xstartup' file and any other VNC configuration details to allow me to see the normal CDE display from the Tru64 Unix system and the normal KDE display from the Mandrake system with the proper interactive feedback to my 'vncviewer' display on my Windows system? I have installed VNC v3.3.2r3 for Alpha OSF on the Tru64 Unix system, v3.3.3r2 for x86 Linux on the Mandrake system and v3.3.3r9 for Intel Win32 on my NT 4 workstation. I have made symbolic links in /usr/local/bin to the VNC executables' actual location on both Unix systems and /usr/local/bin is in my PATH. I am using the vncviewer from the Windows NT workstation to access the Unix boxes. I have followed the directions from the FAQ (Q21) to modify the 'xstartup' script to call whatever script normally starts the X environment on Tru64 (/usr/dt/bin/Xsession) and Mandrake (/etc/X11/xinit/xinitrc). On Tru64 Unix, this change does nothing as I get an empty gray desktop with a cursor just like when the default 'xstartup' script is run. The log reports the following: 18/04/01 08:57:44 Xvnc version 3.3.2r3 18/04/01 08:57:44 Copyright (C) 1997-8 Olivetti & Oracle Research Laboratory 18/04/01 08:57:44 See http://www.orl.co.uk/vnc for information about VNC 18/04/01 08:57:44 Desktop name 'X' (wdcrobora99.ed.gov:1) 18/04/01 08:57:44 Protocol version supported 3.3 18/04/01 08:57:44 Listening for VNC connections on TCP port 5901 18/04/01 08:57:44 Listening for HTTP connections on TCP port 5801 18/04/01 08:57:44 URL http://wdcrobora99.ed.gov:5801 AUDIT: Wed Apr 18 08:57:48 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2786 AUDIT: Wed Apr 18 08:57:48 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2787 AUDIT: Wed Apr 18 08:57:48 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2788 AUDIT: Wed Apr 18 08:57:49 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2789 AUDIT: Wed Apr 18 08:57:50 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2790 AUDIT: Wed Apr 18 08:57:51 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2791 AUDIT: Wed Apr 18 08:57:52 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2792 AUDIT: Wed Apr 18 08:57:53 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2794 AUDIT: Wed Apr 18 08:57:54 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2795 AUDIT: Wed Apr 18 08:57:55 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2796 AUDIT: Wed Apr 18 08:57:56 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2797 AUDIT: Wed Apr 18 08:57:57 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2798 AUDIT: Wed Apr 18 08:57:58 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2799 AUDIT: Wed Apr 18 08:57:59 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2800 AUDIT: Wed Apr 18 08:58:00 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2801 AUDIT: Wed Apr 18 08:58:01 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2802 AUDIT: Wed Apr 18 08:58:02 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2803 AUDIT: Wed Apr 18 08:58:03 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2804 AUDIT: Wed Apr 18 08:58:04 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2805 AUDIT: Wed Apr 18 08:58:05 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2806 AUDIT: Wed Apr 18 08:58:06 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2807 AUDIT: Wed Apr 18 08:58:07 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2808 AUDIT: Wed Apr 18 08:58:08 2001: 116198 Xvnc: client 1 rejected from IP 165.224.16.90 port 2809 18/04/01 08:58:34 Got connection from client 165.224.107.105 18/04/01 08:58:34 Protocol version 3.3 18/04/01 08:58:39 Pixel format for client 165.224.107.105: 18/04/01 08:58:39 8 bpp, depth 8 18/04/01 08:58:39 true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6 18/04/01 08:58:39 no translation needed 18/04/01 08:58:39 Using hextile encoding for client 165.224.107.105 18/04/01 08:58:39 rfbProcessClientNormalMessage: ignoring unknown encoding type 3 18/04/01 08:58:42 Client 165.224.107.105 gone 18/04/01 08:58:42 Statistics: 18/04/01 08:58:42 key events received 0, pointer events 18 18/04/01 08:58:42 framebuffer updates 18, rectangles 42, bytes 403190 18/04/01 08:58:42 hextile rectangles 42, bytes 403190 18/04/01 08:58:42 raw bytes equivalent 794352, compression ratio 1.970168 On the Tru64 Unix system, my 'xstartup' file looks like this: #!/bin/sh # xrdb $HOME/.Xresources # xsetroot -solid grey # xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & /usr/dt/bin/Xsession & On Mandrake, I get a KDE desktop but any xterm's or other tools I start does not go to the VNC viewer's display but opens up the window at the server console. The log reports the following: 18/04/01 09:14:27 Xvnc version 3.3.3r2 18/04/01 09:14:27 Copyright (C) AT&T Laboratories Cambridge. 18/04/01 09:14:27 All Rights Reserved. 18/04/01 09:14:27 See http://www.uk.research.att.com/vnc for information on VNC 18/04/01 09:14:27 Desktop name 'X' (wdcrobora98.ed.gov:1) 18/04/01 09:14:27 Protocol version supported 3.3 18/04/01 09:14:27 Listening for VNC connections on TCP port 5901 18/04/01 09:14:27 Listening for HTTP connections on TCP port 5801 18/04/01 09:14:27 URL http://wdcrobora98.ed.gov:5801 stdin: is not a tty 18/04/01 09:14:49 Got connection from client 165.224.107.105 18/04/01 09:14:49 Protocol version 3.3 18/04/01 09:14:53 Pixel format for client 165.224.107.105: 18/04/01 09:14:53 8 bpp, depth 8 18/04/01 09:14:53 true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6 18/04/01 09:14:53 no translation needed 18/04/01 09:14:53 Using hextile encoding for client 165.224.107.105 18/04/01 09:14:53 rfbProcessClientNormalMessage: ignoring unknown encoding type 3 18/04/01 09:15:35 Pixel format for client 165.224.107.105: 18/04/01 09:15:35 8 bpp, depth 8 18/04/01 09:15:35 true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6 18/04/01 09:15:35 no translation needed 18/04/01 09:15:35 Using hextile encoding for client 165.224.107.105 18/04/01 09:15:35 rfbProcessClientNormalMessage: ignoring unknown encoding type 3 18/04/01 09:15:55 Client 165.224.107.105 gone 18/04/01 09:15:55 Statistics: 18/04/01 09:15:55 key events received 6, pointer events 667 18/04/01 09:15:55 framebuffer updates 857, rectangles 4195, bytes 5323897 18/04/01 09:15:55 copyRect rectangles 1, bytes 16 18/04/01 09:15:55 hextile rectangles 4194, bytes 5323881 18/04/01 09:15:55 raw bytes equivalent 6916766, compression ratio 1.299196 18/04/01 09:35:24 Got connection from client 165.224.107.105 18/04/01 09:35:24 Protocol version 3.5 18/04/01 09:35:24 Ignoring minor version mismatch 18/04/01 09:35:34 Pixel format for client 165.224.107.105: 18/04/01 09:35:34 8 bpp, depth 8 18/04/01 09:35:34 true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6 18/04/01 09:35:34 no translation needed 18/04/01 09:35:34 Using hextile encoding for client 165.224.107.105 18/04/01 09:35:34 rfbProcessClientNormalMessage: ignoring unknown encoding type 3 18/04/01 09:36:22 Client 165.224.107.105 gone 18/04/01 09:36:22 Statistics: 18/04/01 09:36:22 key events received 0, pointer events 180 18/04/01 09:36:22 framebuffer updates 424, rectangles 2738, bytes 933299 18/04/01 09:36:22 hextile rectangles 2738, bytes 933299 18/04/01 09:36:22 raw bytes equivalent 1011910, compression ratio 1.084229 On the Mandrake system, the 'xstartup' looks like this: #!/bin/sh DISPLAY=unix${DISPLAY} export DISPLAY # xrdb $HOME/.Xresources # xsetroot -solid grey # xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & # twm & /etc/X11/xinit/xinitrc & Thank you very much. Tomas Lim ATS, Inc. --------------------------------------------------------------------- To unsubscribe, send a message with the line: unsubscribe vnc-list to [EMAIL PROTECTED] See also: http://www.uk.research.att.com/vnc/intouch.html ---------------------------------------------------------------------
