From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 11:09:23 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 055E537B401 for ; Thu, 3 Apr 2003 11:09:23 -0800 (PST) Received: from imo-r01.mx.aol.com (imo-r01.mx.aol.com [152.163.225.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1DA1943F85 for ; Thu, 3 Apr 2003 11:09:22 -0800 (PST) (envelope-from edinho64@netscape.net) Received: from edinho64@netscape.net by imo-r01.mx.aol.com (mail_out_v34.21.) id i.1b4.5674612 (16237); Thu, 3 Apr 2003 14:09:16 -0500 (EST) Received: from netscape.net (pool-151-198-161-78.nwrk.east.verizon.net [151.198.161.78]) by air-in03.mx.aol.com (v92.17) with ESMTP id MAILININ31-3f6d3e8c86db56; Thu, 03 Apr 2003 14:09:15 -0500 Message-ID: <3E8C86D8.4050102@netscape.net> Date: Thu, 03 Apr 2003 14:09:12 -0500 From: "E. J. Cerejo" User-Agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 X-Accept-Language: en-us, en MIME-Version: 1.0 To: nkinkade@fastmail.fm, freebsd-questions@freebsd.org Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Mailer: Unknown (No Version) Subject: Re: VNC and blackbox X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 Apr 2003 19:09:23 -0000 > I've got VNC running with blackbox. Is there any useful info in the > vncserer logfile - probably located at ~/.vnc/.log. > Basically, I set up a special user under which to launch the VNC server, > so that I can effectively restrict any VNC usage to that which I have > explicitly setup for the special VNC user. In my case, I just created a > user called 'vncuser'. All the necessary files are at > "/home/vncuser/.vnc". Namely, the file "xstartup" - make sure that this > file is executable by the user running VNC. > > Nathan I've tried with blackbox, enlightment and KDE and I still get twm. How does your xstartup file look like? I'm substituting the phrase "twm &" with "blackbox &" or any other wm that I tried. Is this what I should do? Here's what my log file says: 03/04/03 13:54:23 Xvnc version 3.3.6 - built Mar 31 2003 13:58:35 03/04/03 13:54:23 Copyright (C) 2002 RealVNC Ltd. 03/04/03 13:54:23 Copyright (C) 1994-2000 AT&T Laboratories Cambridge. 03/04/03 13:54:23 All Rights Reserved. 03/04/03 13:54:23 See http://www.realvnc.com for information on VNC 03/04/03 13:54:23 Desktop name 'X' (ecerejo.Belkin:1) 03/04/03 13:54:23 Protocol version supported 3.3 03/04/03 13:54:23 Listening for VNC connections on TCP port 5901 03/04/03 13:54:23 Listening for HTTP connections on TCP port 5801 03/04/03 13:54:23 URL http://ecerejo.Belkin:5801 03/04/03 13:56:32 Got connection from client 192.168.2.69 03/04/03 13:56:32 Protocol version 3.3 03/04/03 13:56:37 Pixel format for client 192.168.2.69: 03/04/03 13:56:37 8 bpp, depth 8 03/04/03 13:56:37 true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6 03/04/03 13:56:37 Using ZRLE encoding for client 192.168.2.69 03/04/03 13:56:47 Client 192.168.2.69 gone 03/04/03 13:56:47 Statistics: 03/04/03 13:56:47 key events received 0, pointer events 260 03/04/03 13:56:47 framebuffer updates 265, rectangles 641, bytes 20026 03/04/03 13:56:47 ZRLE rectangles 641, bytes 20026 03/04/03 13:56:47 raw bytes equivalent 903848, compression ratio 45.133726 03/04/03 14:00:02 Got connection from client 192.168.2.69 03/04/03 14:00:02 Protocol version 3.3 03/04/03 14:00:08 Pixel format for client 192.168.2.69: 03/04/03 14:00:08 8 bpp, depth 8 03/04/03 14:00:08 true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6 03/04/03 14:00:08 Using ZRLE encoding for client 192.168.2.69 03/04/03 14:00:12 Pixel format for client 192.168.2.69: 03/04/03 14:00:12 16 bpp, depth 16, little endian 03/04/03 14:00:12 true colour: max r 31 g 63 b 31, shift r 11 g 5 b 0 03/04/03 14:00:12 no translation needed 03/04/03 14:00:12 Using hextile encoding for client 192.168.2.69 03/04/03 14:00:42 Client 192.168.2.69 gone 03/04/03 14:00:42 Statistics: 03/04/03 14:00:42 key events received 14, pointer events 750 03/04/03 14:00:42 framebuffer updates 750, rectangles 8139, bytes 355408 03/04/03 14:00:42 copyRect rectangles 47, bytes 752 03/04/03 14:00:42 hextile rectangles 6459, bytes 311388 03/04/03 14:00:42 ZRLE rectangles 1633, bytes 43268 03/04/03 14:00:42 raw bytes equivalent 5467144, compression ratio 15.415343