From owner-freebsd-questions@FreeBSD.ORG Thu Apr 3 11:36:36 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 144B437B401 for ; Thu, 3 Apr 2003 11:36:36 -0800 (PST) Received: from apollo.sitaranetworks.com (apollo.sitaranetworks.com [199.103.141.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1198143FBF for ; Thu, 3 Apr 2003 11:36:35 -0800 (PST) (envelope-from cptacek@sitaranetworks.com) Received: from rios.sitaranetworks.com (rios.sitaranetworks.com [199.103.141.78])h33JaWY16356; Thu, 3 Apr 2003 14:36:33 -0500 (EST) Received: by rios.sitaranetworks.com with Internet Mail Service (5.5.2653.19) id ; Thu, 3 Apr 2003 14:37:38 -0500 Message-ID: <31269226357BD211979E00A0C9866DAB04D93685@rios.sitaranetworks.com> From: Chris Ptacek To: "'E. J. Cerejo'" , nkinkade@fastmail.fm, freebsd-questions@freebsd.org Date: Thu, 3 Apr 2003 14:37:38 -0500 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" 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:36:36 -0000 Try removing the & from after blackbox. I run KDE and this is what my xstartup looks like: #!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & autocutsel & xhost + startkde - Chris > -----Original Message----- > From: E. J. Cerejo [mailto:edinho64@netscape.net] > Sent: Thursday, April 03, 2003 11:09 AM > To: nkinkade@fastmail.fm; freebsd-questions@freebsd.org > Subject: Re: VNC and blackbox > > > > 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 > > > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >